Re: right permission set for /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Around 12:03am on Wednesday, July 04, 2007 (UK time), Karl Larsen scrawled:

>    That is all I could learn with man chmod and it didn't define what a 
> sticky bit is :-)

How hard did you look?  From 'man chmod':

"A  numeric  mode  is  from  one  to four octal digits (0-7), derived by
adding up the bits with values 4, 2, and 1.   Any  omitted digits  are
assumed  to  be leading zeros.  The first digit selects the set user ID
(4) and set group ID (2) and sticky (1) attributes."

and

"When  the sticky bit is set on a directory, files in that directory may
be unlinked or renamed only by root or their owner.  Without the sticky
bit,  anyone able to write to the directory can delete or rename files.
The sticky bit is commonly found on directories, such as /tmp, that are
world-writable."

Steve

-- 
 
 Play Champions - my free football predictions game at:
 	http://www.stevesearle.com/champs/about.html

 00:07:40 up 8 days,  3:47,  0 users,  load average: 0.33, 0.19, 0.07

Attachment: pgpOf5WiU0wyT.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux