Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, am having a strange problem with VSFTPD that I Can't figure out, lets say I log into the FTP and the parent folder has 777 permisions, well I create ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    97

    Vsftpd not following permisions


    Hello,

    am having a strange problem with VSFTPD that I Can't figure out,

    lets say I log into the FTP and the parent folder has 777 permisions, well I create a new folder and this new folder has 755,
    I have changed the umask to 077 and well suddenly my new folders on creation has 700, I commented it out and it did the same,

    so I have no clue what is going on

    how can I set VSFTPD to follow actual local permisions on the server itself rather than do its own permision on folder creation

    thank you

    Luc

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Use local_umask=022 (or whatever your umask is on your system) in your vsftpd.conf. Make sure to restart vsftpd after editing this file.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

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