Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
aborzenkov wrote:
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).
