You are not logged in.
When I upload a file to my ftp directory the permissions are set to:
--w-rw-rw-and I cannot use RETR (via fileZilla) to downlaod the files
if I navigate to the folder (via SSH) and change permissions of that directory with:
chmod -R u+r httpI can RETR the file,and pemissions are set to:
-rw-rw-rw-The issue is that I must do this for every/any new file that I upload via FTP
If I create a file as a user (via SSH) the permissions are properly set and I have no issues with RETR the problem only occurs with files newly added via FTP
/etc/vsftpd.conf:
listen=YES
local_enable=YES
write_enable=YES
local_umask=776
dirmessage_enable=YES
xferlog_enable=YES
ls_recurse_enable=YESAny ideas?
Last edited by action_owl (2010-07-19 12:04:41)
Offline
[Edit]Ok, forget my previous post. Of course we talk about umasks, not simple permissions.
So if you don't want any permission restrictions you'd need 0000. Of course that would be very insecure, so setting it to 0022 would be probably better to get rwx-r-x-r-x (755) files.[/Edit]
Last edited by patlkli (2010-07-15 18:37:48)
Offline
Thanks patlkli,
Setting the umask to 0022 solved the issue.
Offline