How to prevent VSFTP user to change folder/file permission/ownership?
Issue
- The FTP user is using FileZilla client to change the file mode permissions, How we can prevent it ?
- In /var/log/vsftpd.log we can see that FTP user changed the file permission as per log below:
Mon Aug 11 15:33:05 2014 [pid 14350] [ftp.user1] FTP command: Client "x.x.x.x", "SITE CHMOD 777 tst.tst.txt"
Mon Aug 11 15:33:05 2014 [pid 14350] [ftp.user1] OK CHMOD: Client "x.x.x.x", "/tst.tst.txt 777"
Mon Aug 11 15:33:05 2014 [pid 14350] [ftp.user1] FTP response: Client "x.x.x.x", "200 SITE CHMOD command ok."
Environment
- Red Hat Enterprise Linux 6
- vsftp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.