Find the answer to your Linux question:
Results 1 to 2 of 2
I can't say I completely understand the point of the stickybit. As it was explained on the page I was reading: The most common use of the sticky bit today ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    11

    The purpose of the stickybit


    I can't say I completely understand the point of the stickybit. As it was explained on the page I was reading:

    The most common use of the sticky bit today is on directories. When the sticky bit is set, only the item's owner, the directory's owner, or the superuser can rename or delete files. Without the sticky bit set, any user with write and execute permissions for the directory can rename or delete contained files, regardless of owner.

    What's the point of doing this vs. just not allowing others write access in the file permission?

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    11
    Oh snap, I get it now. That part at the bottom. Even if you don't have write access to the file, you only need write access to the directory. Interesting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •