70470 Posts in 6879 Topics - by 687 Members - Latest Member: Laricwashere

Author Topic: Restrict all FTP users to a single directory  (Read 889 times)

Offline zx2slow

  • Network team
  • Staff
  • Godlike Gamer
  • *
  • Posts: 2200
  • Karma: 2
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 3.6.13 Firefox 3.6.13
Restrict all FTP users to a single directory
« on: January 04, 2011, 08:53:58 PM »
I gots me a server (Ubuntu server 10.04) thingie.  And uh, like its got vsftpd setup, I want to allow local users read/write access and anons only read access, but I want to restrict everyone to a single directory (They have a single root, users can navigate to subdirectories within the directory), kindly tell me how thats like done.

kthxbye.
[Intel core i7 4930K..........Asus Rampage IV Black Edition]
[512GB Samsung 840 PRO 512GB......2xWD Black 7200 2TB RAID0]
[32GB G.Skill DDR3 2400 4x8GB....2xEVGA GTX780ti Classified]
[Corsair 900D.......Primochill CTR250.......Corsair AX1200i]
[MCP35x2.........Swiftech Apogee HD......Swiftech MCR420-XP]

Offline Czar

  • Event Administrator
  • Sponsorship Coordinator
  • Godlike Gamer
  • *
  • Posts: 4632
  • Karma: 11
  • OS:
  • Windows Server Home/Server 2003 Windows Server Home/Server 2003
  • Browser:
  • Chrome 8.0.552.215 Chrome 8.0.552.215
  • Steam ID: therealdealmobile@hotmail.com
  • XBox Gamer Tag: IAmCzarAlex
  • XFire: czaralex
Re: Restrict all FTP users to a single directory
« Reply #1 on: January 04, 2011, 09:02:57 PM »

Offline zx2slow

  • Network team
  • Staff
  • Godlike Gamer
  • *
  • Posts: 2200
  • Karma: 2
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 3.6.13 Firefox 3.6.13
Re: Restrict all FTP users to a single directory
« Reply #2 on: January 04, 2011, 09:20:37 PM »
anon jail is set to disable cd.

Seriously that is my problem, anon_root dosent have access to cd, wtf!
[Intel core i7 4930K..........Asus Rampage IV Black Edition]
[512GB Samsung 840 PRO 512GB......2xWD Black 7200 2TB RAID0]
[32GB G.Skill DDR3 2400 4x8GB....2xEVGA GTX780ti Classified]
[Corsair 900D.......Primochill CTR250.......Corsair AX1200i]
[MCP35x2.........Swiftech Apogee HD......Swiftech MCR420-XP]

Offline The Shoctor

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 5803
  • Karma: 17
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 3.6.13 Firefox 3.6.13
  • Steam ID: shadohawk@shadoworks.net
  • XBox Gamer Tag: TheShoctor
  • XFire: shadoworks
Re: Restrict all FTP users to a single directory
« Reply #3 on: January 05, 2011, 08:53:26 AM »
Give me ssh access and I could work some magics on it.

Support LAN Play!
ლ(ಠ益ಠლ) "I have more than 20 friends EA!" --FITES.NET
(╯°□°)╯︵ ┻━┻
"Close enough." --UGC League

Offline Petch

  • Network Admin
  • Uber Gamer
  • *
  • Posts: 1621
  • Karma: 2
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.6.13 Firefox 3.6.13
  • Steam ID: meekalpetro
Re: Restrict all FTP users to a single directory
« Reply #4 on: January 05, 2011, 08:54:25 AM »
Give me ssh access and I could work some magics on it.


Be warned... it may puss and be itchy once Shoctor is done with it.

Offline Five Aces

  • Barrister
  • Vintage VIP
  • Elite Gamer
  • *
  • Posts: 975
  • Karma: 0
  • An object at rest, Can not be stopped!
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 3.6.13 Firefox 3.6.13
Re: Restrict all FTP users to a single directory
« Reply #5 on: January 17, 2011, 12:51:44 PM »
Quote from: The Shoctor from awhile back
MMmmm, I'd like to stretch my Bits out in it!