Whenever I upload a file to my FTP server running VSFTP, the file permissions on it are defaulted to 600 (rw-------
). How can I change it to 775 (rwxr-xr-x
)?
Whenever I upload a file to my FTP server running VSFTP, the file permissions on it are defaulted to 600 (rw-------
). How can I change it to 775 (rwxr-xr-x
)?
Seems like someone has modified your umask already since acording to the vsftpd man file the default is 776. Check your config for the following values and adjust accordingly.
For anonymous mode, add following configuration to vsftpd.conf: