lsetxattr


Description:

[ Version ( since = "1.0.59" ) ]
public bool lsetxattr (string xattr, string val, int32 vallen, string path) throws Error

set extended attribute of a file or directory

This is the same as setxattr, but if path is a symbolic link, then it sets an extended attribute of the link itself.

This function depends on the feature "linuxxattrs". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error