LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VSFTPd upload permissions (https://www.linuxquestions.org/questions/linux-software-2/vsftpd-upload-permissions-349459/)

critical 08-03-2005 01:09 AM

VSFTPd upload permissions
 
Hey there guys :D

I'm trying to make it so that when anyone uploads to my ftp the file permissions should look like this:

rwx-r-x-r-x

At the moment they look like this

-----w----

I've found a setting in vsftpd.conf

#local_umask = 022

I've tried several combinations

local_umask = 755
local_umask = 0755
local_umask = 777
local_umask = 0777

Nothing fixes the problem or gives me the expected results!

help :(

critical 08-03-2005 01:11 AM

Here's something interesting!

When I create a directory the permissions are correct!

When I upload files the permissions are still wrong =(

critical 08-03-2005 01:18 AM

actually that makes sense now that I think about it... I set the permissions on the directory to 1755

critical 08-03-2005 02:03 AM

bump


All times are GMT -5. The time now is 10:33 PM.