![]() |
|
|
|
|
|||||||
| 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 add permission of directory to a group | ahjiefreak | UNIX for Dummies Questions & Answers | 2 | 02-29-2008 12:20 AM |
| permission, owner and group | pascalbout | Shell Programming and Scripting | 2 | 01-14-2006 08:47 AM |
| group permission | thumper | UNIX for Dummies Questions & Answers | 6 | 02-17-2005 01:03 PM |
| Group permission not working | bbauerle | AIX | 13 | 05-10-2004 05:41 AM |
| how to define permission of unix group | mncapara | UNIX for Dummies Questions & Answers | 3 | 10-16-2002 06:00 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Inherit Group File Permission
In our file system, the SGID for a directory is set right now. Any new files created in this directory will automatically be assigned the same group from the parent directory.
Is there a way to inherit the file permission from the parent directory as well? The OS is Solaris 2.8. Example: Parent directory is: drwxrwsr-x 2 user1 group1 /dir1/happy If I create a new file or directory, ie. camper, inside the happy directory, the group will be group1 regardless of my default group but I also want it to have the same file permission as happy. -rwxrwsr-x 2 user2 group1 /dir1/happy/camper Is it possible? If it is, how? Please help. Thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
It is not possible a uid from a directory. A new file will always have the uid of the process which created it.
|
||||
| Google The UNIX and Linux Forums |