Results 1 to 2 of 2

Thread: VSFTP on Fedora 8

  1. #1

    VSFTP on Fedora 8

    Hello All..

    I have vsftpd running on Fedora 8 and local users can login. however i want local users to access only 2 folders:

    1. their home folder /home/msingh
    2. a public shared folder /home/ftp-docs

    i have a hard link setup from the home folder to ftp-docs but users cannot write to that location.

    here is some information abt my current setting:

    drwxr-xr-x 2 root ftp-users 4096 2008-03-02 23:13 ftp-docs
    drwx------ 3 msingh msingh 4096 2008-03-03 00:02 msingh

    is there something i am missing here or doing wrong?

  2. #2
    redhead's Avatar
    Join Date
    Jun 2001
    Copenhagen, Denmark
    drwxr-xr-x means owner (root) has write, execute and read permission(wxr), but group(ftp-users) and others (msingh) only have execute and read (xr) permission, you could either add your users to the group ftp-users (usermod -G ftp-users msingh) and give the group write permission (chmod g+w /home/ftp-docs) or you could give everyone write permission (very very bad bad bad) Or the hidden third option, configure vsftp to change owner on anything uploadet in /home/ftp-docs so it matches the ownership (the configuration file help even states that changing owner to root on uploads are even worse than giving anyone write permission)
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

Similar Threads

  1. Dual Boot Ubuntu / Fedora - Installing Fedora First
    By peter in forum Redhat / Fedora
    Replies: 2
    Last Post: 12-17-2010, 09:01 PM
  2. vsftp issue
    By markwaugh in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 04-28-2005, 01:25 AM
  3. need some advice for web techs in the field via fedora/vsftp
    By gulfsurfer in forum Linux - General Topics
    Replies: 1
    Last Post: 02-22-2005, 08:42 AM
  4. Windows XP cannot see Fedora System, but Fedora can read XP
    By rrushing in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 01-30-2004, 04:32 AM
  5. vsFTP on Redhat 8
    By BamaFeva in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 10-27-2002, 12:05 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts