Operating System - HP-UX
1849815 Members
3313 Online
104044 Solutions
New Discussion

Re: Filesystem Permissions

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Filesystem Permissions

I have a filesystem, for oracle with the following permissions:

drwxr-sr-x

Why do I have a 'S' in group Permissions. I am not sure how it got there. How can I get rid of this and make the filesystem = 764 ?


Thanks,
RPM
UNIX IS GOOD
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: Filesystem Permissions

Robert,

Try "chmod g-s /dirname".


Pete



Pete
Jeff Schussele
Honored Contributor

Re: Filesystem Permissions

Hi RPM,

Run
chmod 764 /mnt_point

Do this *after* the FS has been mounted.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Denver Osborn
Honored Contributor

Re: Filesystem Permissions

use this..

chmod 0764 /path/mydir

-Denver
Umapathy S
Honored Contributor

Re: Filesystem Permissions

Robert,
That denotes the SetGroupId bit for the filesystem.

chmod 0764 will do it.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Brian Bergstrand
Honored Contributor

Re: Filesystem Permissions

The 's' (setgid) in the group perms of a directory means that any files created in that directory will be set to the group id of the directory. Some previous admin may have set this up so that users with different primary groups could still access/write to files in this directory. If you see a capital 'S', this is just unix warning you that the setgid will have no effect because execute permissions are not present.

HTH.