[OpenIndiana-discuss] Persistent permissions

Michelle Knight michelle at msknight.com
Wed Aug 20 19:32:20 UTC 2014


OK...

I execute ...

chmod
A0=owner@:list_directory/read_data/add_file/write_data/add_subdirectory/append_data/read_xattr/write_xattr/execute/read_attributes/write_attributes/read_acl/write_acl/write_owner/synchronize:file_inherit:allow
guest
chmod
A1=group@:list_directory/read_data/add_file/write_data/add_subdirectory/append_data/read_xattr/write_xattr/execute/read_attributes/write_attributes/read_acl/write_acl/write_owner/synchronize:file_inherit:allow
guest
chmod
A2=everyone@:list_directory/read_data/add_file/write_data/add_subdirectory/append_data/read_xattr/write_xattr/execute/read_attributes/write_attributes/read_acl/write_acl/write_owner/synchronize:file_inherit:deny
guest

...which gives...

Janitor at mother:/mnt/stuff# ls -dv guest
drwxrwx---+  2 myguest  guest          3 Aug 20 20:26 guest
     0:owner@:list_directory/read_data/add_file/write_data/add_subdirectory
         /append_data/read_xattr/write_xattr/execute/read_attributes
         /write_attributes/read_acl/write_acl/write_owner/synchronize
         :file_inherit:allow
     1:group@:list_directory/read_data/add_file/write_data/add_subdirectory
         /append_data/read_xattr/write_xattr/execute/read_attributes
         /write_attributes/read_acl/write_acl/write_owner/synchronize
         :file_inherit:allow
     2:everyone@:list_directory/read_data/add_file/write_data
         /add_subdirectory/append_data/read_xattr/write_xattr/execute
         /read_attributes/write_attributes/read_acl/write_acl/write_owner
         /synchronize:file_inherit:deny



So ... I go in to "guest" and execute "touch test" and get...

Janitor at mother:/mnt/stuff/guest# ls -dv test
-rw-r--r--   1 root     root           0 Aug 20 20:29 test
     0:owner@:read_data/write_data/append_data/read_xattr/write_xattr
         /read_attributes/write_attributes/read_acl/write_acl/write_owner
         /synchronize:allow
     1:group@:read_data/read_xattr/read_attributes/read_acl/synchronize:allow
     2:everyone@:read_data/read_xattr/read_attributes/read_acl/synchronize
         :allow

Not what I was expecting.  Neither the ownership or the permissions
have propagated.

What have I missed please?

Michelle.



More information about the openindiana-discuss mailing list