LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vsftpd & anonymous file permissions (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-and-anonymous-file-permissions-293444/)

uncfleece 02-22-2005 11:37 AM

vsftpd & anonymous file permissions
 
I'm having problems with anonymous uplods and those file permissions. Right now in the .conf file, I have among other things

file_open_mode=0666
anon_umask=007
local_umask=007

However, I get different permissions after an anonymous upload and a local
upload.

For anonymous file, i'll get something like -rw---------
For local files, I'll get something like -rw-rw----- (which is what I want)

Ideas? Need more info? Help!

Thanks

sureshot324 09-24-2006 10:23 PM

I'm having the same problem. My ftp server is set for anonymous login. When an anonymous user uploads a file, the permissions are -rw-------. I want them to be -rw-r--r-- so that anonymous users can download files that were uploaded by other anonymous users with me having to manually change the permissions of every file.

I've tried changing anon_umask and local_umask and it doesn't seem to do anything.

vegav 01-01-2007 08:14 AM

Quote:

Originally Posted by uncfleece
I'm having problems with anonymous uplods and those file permissions. Right now in the .conf file, I have among other things

file_open_mode=0666
anon_umask=007
local_umask=007

However, I get different permissions after an anonymous upload and a local
upload.

For anonymous file, i'll get something like -rw---------
For local files, I'll get something like -rw-rw----- (which is what I want)

Ideas? Need more info? Help!

Thanks


I solve this problem by adding the local_umask=022 to the per user config file


All times are GMT -5. The time now is 11:33 AM.