Operating System - Linux
1829160 Members
16711 Online
109986 Solutions
New Discussion

vsftpd changing permissions of existing files

 
Debbie Fleith
Regular Advisor

vsftpd changing permissions of existing files

We are running vsftpd-1.2.1-3E.6 and noticed a difference in file permission handling from earlier versions.
When we transfer a file remotely to this server and that file already exists, the permissions of the file are changing. We want the permissions of existing files to remain what they are already on the server as prior vsftpd versions treat them.

Our vsftpd.conf file has "local_umask=022" and we want new files to have permissions of 644. Its just that we don't want any permissions of files that are currently set to 600 changed to anything else.
1 REPLY 1
Ivan Krastev
Honored Contributor

Re: vsftpd changing permissions of existing files

Look at vsftpd.conf if you have enabled:

chown_uploads=YES
chown_username=whoever

regards,
ivan