change file permissions on NTFS filesystem
Change file permissions on an NTFS filesystem with a chmod-style permission mask, using ntfssecaudit(8). Only numeric modes are supported.
*Note*: When using this command from guestfish, mode by default would be decimal, unless you prefix it with @0 to get octal,
ie. use @0700 not @700.
The device parameter is the NTFS partition device (eg. "/dev/sda5"). This must be unmounted. The mode parameter
is the permission mode (eg. @0744). The path parameter is the file or directory path within the filesystem. If the optional
recursive flag is set, directory permissions are set recursively.
This function depends on the feature "ntfs3g". See also feature_available .
| this |
A GuestfsSession object |
| optargs |
a GuestfsNtfsChmod containing optional arguments |
|
true on success, false on error |