![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to Single user mode? | gkreddy | UNIX for Dummies Questions & Answers | 1 | 10-25-2007 10:31 PM |
| User Mode Linux | tiemars | UNIX for Advanced & Expert Users | 0 | 09-13-2006 06:39 PM |
| Question on Set User ID on Execution | akrathi | UNIX for Dummies Questions & Answers | 7 | 10-07-2005 01:31 PM |
| adding a user in single user mode | ECBROWN | SUN Solaris | 1 | 03-31-2005 12:26 PM |
| single user mode - user accounts passwords | orestis | UNIX for Dummies Questions & Answers | 2 | 03-09-2005 06:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Set User ID on execution mode.
I have a directory. To this directory, for Group bits combination, it is showing as 's'. Which I found out, it means "Set User ID on execution mode". Within this directory I am not able to create subfolder.
Does it mean, only the Owner of this directory will be able to create subdirectories & new files under this? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The 's' bit on a directory is the set-gid bit.
New files will be created in the directory with the group of the directory itself. Check if you are in the group, as listed by the directory for which s-gid bit is set. If so, you should able to create files within that! |
|
#3
|
|||
|
|||
|
How I should check, if I am part of that group? Is there any command or else I'll have to catch the administrator?
|
|
#4
|
|||
|
|||
|
use the command
Code:
groups /usr/bin/groups and check whether you are in that group! |
|
#5
|
|||
|
|||
|
Am not sure if groups would be available in all the distributions
If groups is not available use id -Gn |
|
#6
|
|||
|
|||
|
Also pls try,
ypcat passwd | grep yourLoginID |
|||
| Google The UNIX and Linux Forums |