Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm pretty new to Linux, so please bear with me.
I have a DNS-323 setup with a shared directory that many users need to be able to create and copy files to. I need to be able to stop most of the users from being able to delete from this directory.
I am unable to find in Linux, any way to stop users from being able to delete files without just making their permissions read only (which of course stops them copying files here).
Is there any way I can prohibit the delete permission?
Thanks
Chad
Offline
Hi Chad,
although I have not tried it myself, the 't' bit in the folder/directory permission is made for this. Go in the directory in question, and apply "chmod +t ." (or in the parent directory and "chmod +t directory_name").
Curious to know if this works...
Offline
hopefully the -t doesn't limit the admin also...
Offline
Thanks Nosiow,
But as qryptiq feared, the users that are required to do houskeeping etc and delete files from this directory are also limited by this.
Offline
Surely root can delete all files (check the rm flags). At least one option is to temporarily login as the given user ("su username"). Otherwise, but very awkward, root can always remove the t bit for cleanup time...
Offline