
michael
asked Feb 09 2017
Answer
Using sticky bit you can restrict other users from deleting files or directories except the owner who created them and the root user In symbolic : chmod o+t /backup (or) chmod +t /backup
In numeric : chmod 1755 /backup
before sticky bit set :
drwxr-xr-x. 42 user1 abc 4096 Feb 14 17:30 backup
After sticky set :
drwxr-xr-t. 42 user1 abc 4096 Feb 14 17:30 backup
Now the stickybit 't' added in the above list

kannan_raja
asked Feb 13 2017
edited Oct 05 2018
How to use sticky bit to secure directories
I need to secure the directories as well as files, how could this be done using sticky bits since I heard that it will be one of the perfect choice to secure directories...!!