Results 1 to 2 of 2
Hi, I have a CENTOS Linux server. I realized that any given file, even belonging to the root user (ownership), can be deleted by any other user accessing through FTP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-01-2011 #1
- Join Date
- Aug 2011
How to protect files for being deleted through FTP?
I have a CENTOS Linux server. I realized that any given file, even belonging to the root user (ownership), can be deleted by any other user accessing through FTP client program (any, for instance, FileZilla).
1) Is it an error, a flaw, or it is right?
2) If so, how to protect that file?
- 08-01-2011 #2
Hi and welcome to the forum.
What ftp server are you running? If thats happening then it could be that there is a configuration error or there is a problem with your file permissions because its not normal for any user to be able to delete files that don't belong to them. Have you considered using a chroot jail for your users? This will confine them to their home directory so they can't see or access files in the rest of the system.