Fixed errno when setting security or trusted xattr as non-root
parent
220883485a
commit
1cd46c2241
|
@ -2536,7 +2536,7 @@ static int ntfs_fuse_setxattr(const char *path, const char *name,
|
|||
if (((namespace == XATTRNS_SECURITY)
|
||||
|| (namespace == XATTRNS_TRUSTED))
|
||||
&& security.uid)
|
||||
return -EACCES;
|
||||
return -EPERM;
|
||||
#endif
|
||||
ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
|
||||
if (!ni)
|
||||
|
|
Loading…
Reference in New Issue