Not a bug, a feature that directories by default have x set if r is set. To turn it off see the manual. Rxdirs or something like that.
Mark On 27 Apr 2011, at 00:25, Bennett Roller <bennett.rol...@noa.nintendo.com> wrote: > Seems to be a bug with setting permissions , this was submitted by an > engineer that works with me. > > > > Here is the code > > "/mnt/disk01/." > > perms => mog("744", "oracle", "dba"), > > create => "true"; > > "/mnt/disk02/." > > perms => mog("744", "oracle", "dba"), > > create => "true"; > > "/mnt/disk03/." > > perms => mog("744", "oracle", "dba"), > > create => "true"; > > "/mnt/disk04/." > > perms => mog("744", "oracle", "dba"), > > create => "true"; > > "/mnt/disk05/." > > perms => mog("744", "oracle", "dba"), > > create => "true"; > > "/mnt/disk06/." > > perms => mog("744", "oracle", "dba"), > > create => "true"; > > "/mnt/disk07/." > > perms => mog("744", "root", "root"), > > create => "true"; > > "/mnt/disk08/." > > perms => mog("744", "root", "root"), > > create => "true"; > > "/mnt/disk09/." > > perms => mog("744", "root", "root"), > > create => "true"; > > "/mnt/disk10/." > > perms => mog("744", "root", "root"), > > create => "true"; > > > > RESULTS > > drwxr-xr-x 2 oracle dba 4096 Apr 26 14:41 disk01 > > drwxr-xr-x 2 oracle dba 4096 Apr 26 14:41 disk02 > > drwxr-xr-x 2 oracle dba 4096 Apr 26 14:41 disk03 > > drwxr-xr-x 2 oracle dba 4096 Apr 26 14:41 disk04 > > drwxr-xr-x 2 oracle dba 4096 Apr 26 14:41 disk05 > > drwxr-xr-x 2 oracle dba 4096 Apr 26 14:41 disk06 > > drwxr-xr-x 2 root root 4096 Apr 26 14:41 disk07 > > drwxr-xr-x 2 root root 4096 Apr 26 14:41 disk08 > > drwxr-xr-x 2 root root 4096 Apr 26 14:41 disk09 > > drwxr-xr-x 2 root root 4096 Apr 26 14:41 disk10 > > > > > > > > WHAT IT SHOULD BE.... > > [root@noarddemap68 mnt]# chmod 744 d* > > [root@noarddemap68 mnt]# ll > > total 40 > > drwxr--r-- 2 oracle dba 4096 Apr 26 14:41 disk01 > > drwxr--r-- 2 oracle dba 4096 Apr 26 14:41 disk02 > > drwxr--r-- 2 oracle dba 4096 Apr 26 14:41 disk03 > > drwxr--r-- 2 oracle dba 4096 Apr 26 14:41 disk04 > > drwxr--r-- 2 oracle dba 4096 Apr 26 14:41 disk05 > > drwxr--r-- 2 oracle dba 4096 Apr 26 14:41 disk06 > > drwxr--r-- 2 root root 4096 Apr 26 14:41 disk07 > > drwxr--r-- 2 root root 4096 Apr 26 14:41 disk08 > > drwxr--r-- 2 root root 4096 Apr 26 14:41 disk09 > > drwxr--r-- 2 root root 4096 Apr 26 14:41 disk10 > > > > > > > > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine