diff options
| author | Andreas Gruenbacher <[email protected]> | 2006-11-02 22:07:29 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-11-03 12:27:59 -0800 |
| commit | f1f2d8713d16a1e198880bbc716eb24fae09c858 (patch) | |
| tree | 1782ba01540c329481d995e87b80d45047ea4a9c /include/linux/debugobjects.h | |
| parent | 8ce08464d2c749610a52c4d6c7c11080a7eaaef1 (diff) | |
[PATCH] Fix user.* xattr permission check for sticky dirs
The user.* extended attributes are only allowed on regular files and
directories. Sticky directories further restrict write access to the owner
and privileged users. (See the attr(5) man page for an explanation.)
The original check in ext2/ext3 when user.* xattrs were merged was more
restrictive than intended, and when the xattr permission checks were moved
into the VFS, read access to user.* attributes on sticky directores ended
up being denied in addition.
Originally-from: Gerard Neil <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Cc: Dave Kleikamp <[email protected]>
Cc: Jan Engelhardt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions