11-06-2000
If you wanted to have read and write permissions on a directory you would use:
<I>chmod 600 dirname</I>
or
<I>chmod 600 . </I>
for the current directory.
See <A HREF="https://www.unix.com/forums/showthread.php?threadid=69">this previous thread</A> for a good chmod tutorial.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Aahhhh!! I am so much frustrated trying to recover my superuser account. I need help!!! Please can anyone tell me how to recover a the root account? Thank you in advance. (1 Reply)
Discussion started by: pnoi_blitz
1 Replies
2. UNIX for Dummies Questions & Answers
Could anyone explain if Linux is Unix? I'm a newbie here, just installed Oracle 8i on Redhat 7.2. (4 Replies)
Discussion started by: Prettyman
4 Replies
3. Answers to Frequently Asked Questions
Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky.
One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. Linux
Hey there, new to the forum :)
Im currently at university studying UNIX, but i need some help. Can someone help me out with operational / technical differences between the two? Even if You just give me some topics i can go research them...
much appreciated
Josh (1 Reply)
Discussion started by: kiwi_bloke
1 Replies
5. UNIX for Dummies Questions & Answers
quick question that may bring long answers :)
I am currently looking into porting an existing Recital system from Unix to Linux. possibly not a good idea :) Basically;
Would i be better shooting myself in the foot now? or
do you know if there would be a fair expense due to buying Linux and the... (0 Replies)
Discussion started by: Kuz972
0 Replies
6. UNIX for Dummies Questions & Answers
hi all,
i have a linux operating system...can i practice unix commands on linux system....there is any changes in the commands.....can any one post some meterial..
thanks (1 Reply)
Discussion started by: madhu_msinus@ya
1 Replies
7. UNIX for Dummies Questions & Answers
why would one choose unix over linux? (2 Replies)
Discussion started by: lizzy
2 Replies
8. Fedora
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
9. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
10. What is on Your Mind?
Forum Moderation @UNIX.com | The UNIX and Linux Forums
https://youtu.be/WGwgibE4Rq0
Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items:
... (0 Replies)
Discussion started by: Neo
0 Replies
sticky(5) Standards, Environments, and Macros sticky(5)
NAME
sticky - mark files for special treatment
DESCRIPTION
The sticky bit (file mode bit 01000, see chmod(2)) is used to indicate special treatment of certain files and directories. A directory for
which the sticky bit is set restricts deletion of files it contains. A file in a sticky directory can only be removed or renamed by a user
who has write permission on the directory, and either owns the file, owns the directory, has write permission on the file, or is a privi-
leged user. Setting the sticky bit is useful for directories such as /tmp, which must be publicly writable but should deny users permission
to arbitrarily delete or rename the files of others.
If the sticky bit is set on a regular file and no execute bits are set, the system's page cache will not be used to hold the file's data.
This bit is normally set on swap files of diskless clients so that accesses to these files do not flush more valuable data from the sys-
tem's cache. Moreover, by default such files are treated as swap files, whose inode modification times may not necessarily be correctly
recorded on permanent storage.
Any user may create a sticky directory. See chmod for details about modifying file modes.
SEE ALSO
chmod(1), chmod(2), chown(2), mkdir(2), rename(2), unlink(2)
BUGS
The mkdir(2) function will not create a directory with the sticky bit set.
SunOS 5.10 1 Aug 2002 sticky(5)