Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I safely conclude that the sticky bit is not used in current file sysems and reuse the bit for my own purpose.

share|improve this question

migrated from stackoverflow.com Nov 1 '11 at 14:54

This question came from our site for professional and enthusiast programmers.

NO, YOU MAY NOT!! And, if I could set a larger, redder font, I would :-) – paxdiablo Nov 1 '11 at 5:12

Even if it's currently unused for non-directories, others have undoubtedly had the same idea and are probably currently using the sticky bit for their own nefarious purposes. The sticky bit is not meant for arbitrary user-defined marks on a file. Use extended attributes instead!

share|improve this answer
up vote 2 down vote accepted

No, you cannot assume that. It's not true for directories. You can make the narrower assumption that it's true for non-directory files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.