FTP, newly created files permission
Hello,
I setup an FTP with vsftpd. I have a partition in ext3 format for uploads, so users can upload and download from that partition. The problem is that every time that someone create (upload) a file nobody else can download it (no access at all). the permissions that automatically created are: drwx------ -rw------- Also, have a lot of groups and i want all the groups to have access on the folder uploads. How, can i do it? Thanks in advanced |
Re: FTP ... permission
Check the vsftpd configuration file.
The umask parameters define the "chmod" value (permissions) of the files when they are uploaded to the FTPs filesystem. To calculate the permission value, start at 777, then substract the umask value. So if a anon_umask value is set at 077, then the file will have the permissions of 700 on the file system (this may prevent the file from later being downloaded depending on filesystem permissions). anon_umask=077 local_umask=022 |
THANK YOU VERY MUCH !!!
It workss!!!! |
All times are GMT -5. The time now is 04:23 AM. |