chmod mode as permision drwxrwsr-x | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

chmod mode as permision drwxrwsr-x

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-05-2007
arunkumar_mca arunkumar_mca is offline
Registered User
 
Join Date: Oct 2004
Last Activity: 11 December 2014, 7:47 AM EST
Posts: 291
Thanks: 1
Thanked 1 Time in 1 Post
chmod mode as permision drwxrwsr-x

All,

As first i searched in google but no result . Also i searched in the forum as well.

I am having a directory with permision drwxrwsr-x

i want to create a new directory with same permision . I know S denotes stick bit i tried to creat a directory and modify by chmod as

chmod 7755 XXXX

but no result .. PLease help.

Thanks,
Arun
Sponsored Links
    #2  
Old 12-05-2007
arunkumar_mca arunkumar_mca is offline
Registered User
 
Join Date: Oct 2004
Last Activity: 11 December 2014, 7:47 AM EST
Posts: 291
Thanks: 1
Thanked 1 Time in 1 Post
Thanks all i got it as

chmod 2775 xxx
Sponsored Links
    #3  
Old 12-05-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 22 December 2014, 4:09 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 64
Thanked 440 Times in 261 Posts
Thanks for posting the solution you found. But I would like to point out that the directories have the SGID bit, not the sticky bit. Both bits are often used on directories and have different effects. I explain this in my article Unix File Permissions.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
windows partition file permision vistastar UNIX for Dummies Questions & Answers 1 11-23-2011 04:39 AM
What is the difference between chmod in solaris and chmod in Linux? sumaiya UNIX and Linux Applications 1 08-12-2010 09:38 AM
file permision chandan.sharma UNIX for Dummies Questions & Answers 1 04-27-2009 03:01 PM
Question regarding permision and seguid bit (sticky bit) arunkumar_mca UNIX for Dummies Questions & Answers 2 01-09-2008 07:18 AM
File Permision sommyp UNIX for Dummies Questions & Answers 6 05-17-2007 03:46 PM



All times are GMT -4. The time now is 08:48 PM.