Sticky bit enabled on a file with no permissions
by Redjet from LinuxQuestions.org on (#6GRY6)
Hello everyone,
I'm exploring Linux permissions, and I have a question.
Does the user 'bob' have the ability to delete 'file.txt'?
The permissions for this file are as follows:
--------T 1 bob bob 0 Nov 05 23:01 file.txt.
The presence of the capital letter 'T' at the end indicates that the sticky bit is set on the directory containing 'file.txt,' while all other permissions are absent. The user "bob" appears to be the owner of the file, does the presence of the sticky bit enable him to delete it?
Thanks in advance!
I'm exploring Linux permissions, and I have a question.
Does the user 'bob' have the ability to delete 'file.txt'?
The permissions for this file are as follows:
--------T 1 bob bob 0 Nov 05 23:01 file.txt.
The presence of the capital letter 'T' at the end indicates that the sticky bit is set on the directory containing 'file.txt,' while all other permissions are absent. The user "bob" appears to be the owner of the file, does the presence of the sticky bit enable him to delete it?
Thanks in advance!