Finally I understood sticky bit concept and I want to share this with all..
Best way to learn it is we shall try an example. We all might be aware of its definitions and theory:
RESTRICTED DELETION FLAG OR STICKY BIT(t)
- The restricted deletion flag or sticky bit is a single bit, whose interpretation depends on the file type.
- For directories, it prevents unprivileged users from removing or renaming a file in the directory unless they own the file or the directory; this is called the restricted deletion flag for the directory, and is commonly found on world-writable directories like /tmp.
-
...
Read more »