The closest I have found to creating a folder that can't be moved or deleted (but lets me add/edit/delete files within) is chattr.
sudo chattr -a folder
lets me protect a folder from being deleted and allows me to place files into it ,but it does not let me edit rename or delete the files inside.
I know I can switch to super user or just undo the chattr command on the folder, but what I would like to do is protect against accidental deletion or moving files in ftp .
Is there a way to get what I am after?
0 Answers