Sticky bit in Solaris

Describe sticky bit in Solaris?

E

Expert

Verified

If a directory is writable & has sticky bit is set, files inside directory removed or renamed only if one or more following is true:

1. The user owns the file

2. The user owns the directory

3. The file writable by the User

4. The user is "root"

5. chmod 1777 project_dir

The sticky bit is displayed like the letter t in the execute field for 'others'. It is a permission bit which protects the files inside a Directory. If the directory has sticky bit set, a file can be removed by the owner of the file, the owner of the directory or root. It prevents a user from deleting other user’s files from public directories.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.