setxattr
Description:
[ Version ( since = "1.0.59" ) ]
public bool setxattr (string xattr, string val, int32 vallen, string path) throws Error
public bool setxattr (string xattr, string val, int32 vallen, string path) throws Error
set extended attribute of a file or directory
This call sets the extended attribute named xattr of the file path to the value val (of length
vallen). The value is arbitrary 8 bit data.
See also: lsetxattr, attr(5).
This function depends on the feature "linuxxattrs". See also feature_available.
Parameters:
| this |
A GuestfsSession object |
Returns:
|
true on success, false on error |