Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-05-2007
arunkumar_mca arunkumar_mca is offline
Registered User
 
Join Date: Oct 2004
Last Activity: 1 July 2015, 8:32 AM EDT
Posts: 310
Thanks: 4
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 Unix and Linux 12-05-2007
arunkumar_mca arunkumar_mca is offline
Registered User
 
Join Date: Oct 2004
Last Activity: 1 July 2015, 8:32 AM EDT
Posts: 310
Thanks: 4
Thanked 1 Time in 1 Post
Thanks all i got it as

chmod 2775 xxx
Sponsored Links
    #3  
Old Unix and Linux 12-05-2007
Perderabo's Unix or Linux Image
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 27 April 2015, 10:26 AM EDT
Location: Ashburn, Virginia
Posts: 9,931
Thanks: 64
Thanked 448 Times in 264 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 03:39 AM
What is the difference between chmod in solaris and chmod in Linux? sumaiya UNIX and Linux Applications 1 08-12-2010 08:38 AM
file permision chandan.sharma UNIX for Dummies Questions & Answers 1 04-27-2009 02:01 PM
Question regarding permision and seguid bit (sticky bit) arunkumar_mca UNIX for Dummies Questions & Answers 2 01-09-2008 06:18 AM
File Permision sommyp UNIX for Dummies Questions & Answers 6 05-17-2007 02:46 PM



All times are GMT -4. The time now is 10:37 PM.