Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to remove stickybit in subdirectory also

Status
Not open for further replies.

chomca

Technical User
Jun 26, 2007
15
IN
Hi,
i want to remove the sticky bit in all the file system and in subdirectory in AIX.we want to write the script or command is their. thanks in advance.
 
chmod <bit pattern> <top level dir>
cd <top level dir>
chmod -R 4755 *

Where <bit pattern> = the protections you want set. IE

chmod 4755 /somedir
cd /somedir
chmod -R 4755 * # to get all files/subdirs under /somedir.


Add a little color to your PUTTY terminal: faq52-6627
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top