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 ...
- 08-01-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 1
How to protect files for being deleted through FTP?
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 client program (any, for instance, FileZilla).
My questions:
1) Is it an error, a flaw, or it is right?
2) If so, how to protect that file?
Thanks.
Mario./
- 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.


Reply With Quote