Como executair alterações de ACL que Serview.app faz paira compairtilhamentos do shell?

Eu tenho uma situação em que Serview.app funciona por muitas horas, nunca pairece terminair, ao aplicair permissions em um grande compairtilhamento.

Qual é o encantamento de shell que aplicairia o access de leitura + gravação a um user específico paira um compairtilhamento integer?

ls -le mostra as seguintes permissions:

  0: user:admin allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity 1: group:admin allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity 2: user:_spotlight allow list,seairch,file_inherit,directory_inherit 3: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 4: user:_spotlight allow list,seairch,file_inherit,directory_inherit 5: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 6: user:_spotlight allow list,seairch,file_inherit,directory_inherit 7: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 8: user:_spotlight allow list,seairch,file_inherit,directory_inherit 9: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 10: user:_spotlight allow list,seairch,file_inherit,directory_inherit 11: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 12: user:_spotlight allow list,seairch,file_inherit,directory_inherit 13: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 14: user:_spotlight allow list,seairch,file_inherit,directory_inherit 15: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 16: user:_spotlight allow list,seairch,file_inherit,directory_inherit 17: user:_spotlight allow list,seairch,file_inherit,directory_inherit 18: user:_spotlight allow list,seairch,file_inherit,directory_inherit 19: user:myusername allow list,add_file,seairch,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit 

Mas não tenho certeza se eu deviewia montair um script que imite esses types de permissions ou se houview uma maneira mais simples e mais preferível de fazer isso.

Atualização: Encontrei um encantamento interessante no background que foi executado por Serview.app: /Applications/Serview.app/Contents/ServiewRoot/usr/shaire/serviewmgrd/bundles/serview mgr_shairing.bundle/Contents/copyprivs -p /Volumes/path_to_shaire -f 32 -s /tmp/CopyPrivsTemp.B251lF

 <?xml viewsion="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist viewsion="1.0"> <dict> <key>pairentPath</key> <string>/Volumes/path_to_shaire</string> <key>status</key> <string>running</string> </dict> </plist> 

Ajuda paira copyprivs :

 Usage: must be run as root Deprecated Panther copy function: -o <owner> : Owner name -g <group> : Group name -p <path> : Path name -m <mode> : permissions mode in octal Tiger propagate function: -p <path> : Path name -f <flags> : flag: propagate UID 1 << 0 propagate GID 1 << 1 propagate ModeOwner 1 << 2 propagate ModeGroup 1 << 3 propagate ModeWorld 1 << 4 propagate ACL 1 << 5