Description
bool
xattr_set ( string filename, string name, string value [, int flags] )
This function sets the value of an extended attribute of a file.
Extended attributes have two different namespaces: user
and root namespace. User namespace is available for all users while root namespace
is available only for user with root privileges. xattr operates on user namespace
by default, but you can change that using flags argument.