2

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

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

2 Answers 2

4

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!

2

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.

You must log in to answer this question.