SHARE
TWEET

OpenIndiana vs OS X ACLs, read_data,execute, then write_data

a guest Aug 14th, 2013 33 Never
  1. /////////////////////////////////////////////
  2. OpenIndiana:
  3. /////////////////////////////////////////////
  4. root@openindiana-parallels:/zusers/newbar# touch foo17.txt
  5. root@openindiana-parallels:/zusers/newbar# touch foo18.txt
  6. root@openindiana-parallels:/zusers/newbar# touch foo19.txt
  7. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:joe:read_data/execute:allow /zusers/newbar/foo17.txt
  8. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:joe:write_data:allow /zusers/newbar/foo17.txt
  9. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:501:read_data/execute:allow /zusers/newbar/foo18.txt
  10. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:501:write_data:allow /zusers/newbar/foo18.txt
  11. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:501:read_data:allow /zusers/newbar/foo19.txt
  12. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:501:execute:allow /zusers/newbar/foo19.txt
  13. root@openindiana-parallels:/zusers/newbar# /bin/chmod A+user:501:write_data:allow /zusers/newbar/foo19.txt
  14.  
  15. /////////////////////////////////////////////
  16. OS X:
  17. /////////////////////////////////////////////
  18. Josephs-MacBook-Pro-2:~ root# ls -le /zusers/newbar/*
  19. -rw-r--r--+ 1 root  wheel  0 Aug 14 21:33 /zusers/newbar/foo17.txt
  20.  1: FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000065 allow write
  21.  2: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute
  22.  3: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute,append,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown
  23.  4: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute,append,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown
  24. -rw-r--r--+ 1 root  wheel  0 Aug 14 21:33 /zusers/newbar/foo18.txt
  25.  1: user:joe allow write
  26.  2: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute
  27.  3: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute,append,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown
  28.  4: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute,append,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown
  29. -rw-r--r--+ 1 root  wheel  0 Aug 14 21:33 /zusers/newbar/foo19.txt
  30.  1: user:joe allow write
  31.  2: user:joe allow write,execute
  32.  3: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute
  33.  4: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute,append,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown
  34.  5: FFFFEEEE-DDDD-CCCC-BBBB-AAAAFFFFFFFF allow read,write,execute,append,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown
  35. Josephs-MacBook-Pro-2:~ root#
RAW Paste Data
Top