2012-03-30 11:03 AM
file-create-directory appears to be the only file-* interface that accepts permissions, documented or otherwise. Does anyone have recommendations on how to manipulate filesystem permissions via zapi (even something via system-cli)?
2012-03-31 08:42 AM
The obvious question - which permissions? There could be at least three disjoint permission sets - Unix, NTFS and NFS v4. NTFS could be changed using fsecurity command invocation (via system-cli). I do not know if it is possible to directly manipulate Unix or NFS v4 permissions.
2012-04-01 09:09 AM
The obvious question - which permissions?
Pedantic answer, whichever one is reported in file-info/perm or the file equivalent of file-create-directory/perm (but yeah, the UNIX permission bits).