http://oss.sgi.com/bugzilla/show_bug.cgi?id=427
Summary: XFS does not allow getxattr() on immutable files
Product: Linux XFS
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XFS kernel code
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: johannes@xxxxxxxxxxxxxxxx
XFS does not allow getxattr() on immutable files:
(from strace of getfattr)
getxattr("myfile", "user.myattr", 0x0, 0) = -1 EPERM (Operation not
permitted)
The reason is the following code fragment from linvfs_getxattr:
error = namesp->attr_capable(vp, NULL);
if (error)
return error;
where the namesp was attr_user, so attr_user_capable is called,
which does:
if (IS_IMMUTABLE(inode) || IS_APPEND(inode))
return -EPERM;
This applies even to the superuser.
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|