Restricting ftp user from deleting a file

Support for security such as Firewalls and securing linux
Post Reply
genux
Posts: 6
Joined: 2014/05/27 00:55:43

Restricting ftp user from deleting a file

Post by genux » 2014/07/19 07:02:28

Hi all,



How to restrict the user from deleting a file in ftp server and what file permission i will be use?


Thanks!

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Restricting ftp user from deleting a file

Post by gerald_clark » 2014/07/19 16:50:38

To prevent deleting a file, the user must not have write permission on the directory that contains the file.

genux
Posts: 6
Joined: 2014/05/27 00:55:43

Re: Restricting ftp user from deleting a file

Post by genux » 2014/07/21 00:16:15

Thanks gerald_clark! :)

Post Reply

Return to “CentOS 7 - Security Support”