Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 09-13-2006, 09:31 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
About Sticky bit...

I know about sticky bit but can you tell me how to set a sticky bit?
Old 09-13-2006, 09:36 AM   #2
LQ Newbie
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
-rwxrwxrwt both others execute and sticky bit are set
-rwxrwxr-T sticky bit is set, but others execute is not set

is it the answer?
Old 09-13-2006, 09:41 AM   #3
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
yep, that sounds right.

chmod +t /tmp
Old 09-13-2006, 10:09 AM   #4
Registered: Sep 2005
Distribution: LFS
Posts: 60

Rep: Reputation: 22
There's also a way to set the sticky bits in absolute mode. Just prepend the octal bitmap to the other permission settings. . .
$chmod 7666 theFile
will set all three sticky bits with read/execute permissions for everyone.

Old 09-13-2006, 10:23 AM   #5
LQ Newbie
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you very much...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How does Sticky Bit work ? tofee Linux - Newbie 2 03-18-2006 03:55 AM
Sticky Bit Doesn't Seem to work krishvij Linux - Newbie 5 05-10-2005 05:31 PM
Sticky Bit tarballed Linux - General 4 07-03-2002 03:54 PM
Sticky bit question...need help rootlinux Linux - General 1 01-26-2002 05:12 PM
sticky bit motiram Linux - General 1 08-01-2001 12:34 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration