Read only:
chmod -R +a "<username> allow readattr,readextattr,readsecurity,list,search,read,file_inherit,directory_inherit" <folder>
Read and write:
chmod -R +a "<username> allow readsecurity,readattr,readextattr,list,search,read,execute,writeattr,writeextattr,delete,add_file,add_subdirectory,delete_child,write,append,file_inherit,directory_inherit,inherited" <folder>
Leave a Reply
You must be logged in to post a comment.