LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sticky bit question...need help (https://www.linuxquestions.org/questions/linux-general-1/sticky-bit-question-need-help-12757/)

rootlinux 01-26-2002 03:02 PM

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!!!

acid_kewpie 01-26-2002 05:12 PM

it's easier to do

chmod +s filename


All times are GMT -5. The time now is 01:54 PM.