dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/fat
OGAWA Hirofumi 2d518f84e5 fat: relax the permission check of fat_setattr()
New chmod() allows only acceptable permission, and if not acceptable, it
returns -EPERM.  Old one allows even if it can't store permission to on
disk inode.  But it seems too strict for users.

E.g.  https://bugzilla.redhat.com/show_bug.cgi?id=449080: With new one,
rsync couldn't create the temporary file.

So, this patch allows like old one, but now it doesn't change the
permission if it can't store, and it returns 0.

Also, this patch fixes missing check.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-06-12 18:05:39 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.c fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
dir.c fat: use __getname() 2008-04-28 08:58:47 -07:00
fatent.c fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
file.c fat: relax the permission check of fat_setattr() 2008-06-12 18:05:39 -07:00
inode.c fat: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
misc.c FAT: Fix printk format strings 2008-02-06 10:41:02 -08:00