Pergunta de entrevista da empresa Rackspace Technology

Explain what the 'sticky bit' is, and what it does

Resposta da entrevista

Sigiloso

10 de ago. de 2012

The sticky bit is only of use on directories. If set, only the owner of the directory or the owner of any file in the sticky-bitted directory can delete (unlink) or rename the file. The sticky bit is not used on normal files, although you can set it.