LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-26-2002, 03:02 PM   #1
rootlinux
Member
 
Registered: Dec 2001
Location: California
Distribution: Red Hat 7.2, Slackware 8.0
Posts: 53

Rep: Reputation: 15
Sticky bit question...need help


Hello everyone. Have a quick question here. What is the command so I can put a sticky bit on a directory so the permission will push down through the directory, to the files.

For example, I have a directory scripts. And everything that goes into their I want it to be executable. Is it possible to set a command on the directory to set those specified permissions on files that are going to be placed their in the future?

If so, can someone give a explanation of the command.

I know its something around the lines as: chmod 1777(or whatever permissions) folder name.

Thanks everyone!!!
 
Old 01-26-2002, 05:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
it's easier to do

chmod +s filename
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sticky Bit Doesn't Seem to work krishvij Linux - Newbie 5 05-10-2005 05:31 PM
Losing sticky bit privilege when using fork() jones507 Programming 1 11-13-2003 03:57 PM
file modes list i.e. what is a sticky bit? Glover Linux - Newbie 2 07-04-2002 06:41 AM
Sticky Bit tarballed Linux - General 4 07-03-2002 03:54 PM
sticky bit motiram Linux - General 1 08-01-2001 12:34 PM


All times are GMT -5. The time now is 08:13 AM.

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