![]() | xattr_set说明bool xattr_set ( string filename, string name, string value [, int flags] )This function sets the value of an extended attribute of a file. 扩展的属性有两个不同的名字空间:user 和 root 名字空间。user 名字空间对所有用户均有效,而 root 名字空间仅对拥有 root 权限的用户有效。xattr 默认在 user 名字空间上进行操作,但是可以使用 flags 参数进行更改。 参数
范例
![]() There are no user contributed notes for this page. | ![]() | ||||||||