03-04-2014
Hi,
The use of the sticky bit changes greatly from one nix to an other, what is the OS and version?
Regards
Gull04
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a questions, whose answer may be very obvious:
Of what use is the sticky-bit permission on a Unix system?
I have looked at the chmod(1) man page on our HP-UX playground
system, and haven't been given much explanation:
Add or delete the save-text-image-on-file-
execution (sticky... (3 Replies)
Discussion started by: LivinFree
3 Replies
2. UNIX for Dummies Questions & Answers
What command string would you use to set the sticky bit on a directory that you own? (2 Replies)
Discussion started by: mma_buc_98
2 Replies
3. UNIX for Dummies Questions & Answers
I have the sticky bit set on my /tmp directory, but users are still able to remove files that are not owned by them. Does the /etc/group file get invloved in securing these files ?? (1 Reply)
Discussion started by: rob11g
1 Replies
4. Shell Programming and Scripting
Hi frns,
What is command to list out all dir's for which sticky bit has been set.
Regards,
Manu (2 Replies)
Discussion started by: manu.vmr
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
could anyone please send me a link to learn/ know more about sticky bits? I am still not clear on the application of using a sticky bits.
Thanks for your help.
Regards,
UP (3 Replies)
Discussion started by: teenu18
3 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
I am having file permision as
drwxrwsr_x
I kwo for deleting a file in the diretory i need w permsion as well ..
Say if i am having the permsion as
drwxrwsrwx - wil any one can delete the files in the directory ..
And one more question what is the s doing there ..... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
7. UNIX for Dummies Questions & Answers
HI
What is sticky bit?
how can be see if the sticky bit for file is set?
WHat is meaning of sticky bit set on Directory?
What is the syntax to set the sticky bit? With example
Thanks (10 Replies)
Discussion started by: skyineyes
10 Replies
8. UNIX for Advanced & Expert Users
Hi,
I understand the purpose of sticky bit on directories. But I am not very clear about what the sticky bit do on a file.
Can any one explain me in detail and with example please.
Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies
9. Solaris
Hi all,
I have trouble working with Sticky bit in solaris,
I am able to delete files and directory from the directory who has sticky bit set , i have verified that i am neither owner of the file pr directories..
I have check in Solaris 7, 8 ,9 ,10, versions, that does not seem to work..... (8 Replies)
Discussion started by: kshama
8 Replies
10. AIX
What is sticky bit ...and where we aill use this.. how to set this bit in files and directories (1 Reply)
Discussion started by: udtyuvaraj
1 Replies
STICKY(8) BSD System Manager's Manual STICKY(8)
NAME
sticky -- sticky text and append-only directories
DESCRIPTION
A special file mode, called the sticky bit (mode S_ISVTX), is used to indicate special treatment for shareable executable files and directo-
ries. See chmod(2) or the file /usr/include/sys/stat.h for an explanation of file modes.
STICKY TEXT EXECUTABLE FILES
The sticky bit has no effect on executable files. All optimization on whether text images remain resident in memory is handled by the ker-
nel's virtual memory system.
STICKY DIRECTORIES
A directory whose `sticky bit' is set becomes an append-only directory, or, more accurately, a directory in which the deletion of files is
restricted. A file in a sticky directory may only be removed or renamed by a user if the user has write permission for the directory and the
user is the owner of the file, the owner of the directory, or the super-user. This feature is usefully applied to directories such as /tmp
which must be publicly writable but should deny users the license to arbitrarily delete or rename each others' files.
Any user may create a sticky directory. See chmod(1) for details about modifying file modes.
BUGS
Neither open(2) nor mkdir(2) will create a file with the sticky bit set.
HISTORY
A sticky command appeared in Version 32V AT&T UNIX.
4th Berkeley Distribution June 5, 1993 4th Berkeley Distribution