[Bugs] [Bug 1175739] [USS]: Non root user who has no access to a directory, from NFS mount, is able to access the files under .snaps under that directory
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jan 8 09:15:40 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1175739
--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9340 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com)
------
commit f19d5d1a704fda90743f8ff161ca7174cae2f48f
Author: Sachin Pandit <spandit at redhat.com>
Date: Tue Nov 25 07:20:38 2014 +0530
USS : fill proper uid and gid during a access call from nfs.
Problem : when an user tries to access a file/folder for which
he does not have a proper permission required then fuse gives out
a proper error "Permission denied", but nfs does not give out that
error, rather he can access the file/folder. The reason being uid and
gid of call frame stack takes a default value of uid and gid which
point to root permission.
Solution : Set a proper uid and gid during a access call from nfs
Change-Id: Ib060706fde66ec7e60f242fab1f3e59122ed2245
BUG: 1175739
Signed-off-by: Sachin Pandit <spandit at redhat.com>
Reviewed-on: http://review.gluster.org/9194
Reviewed-by: Vijaikumar Mallikarjuna <vmallika at redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur at redhat.com>
Signed-off-by: Sachin Pandit <spandit at redhat.com>
Reviewed-on: http://review.gluster.org/9340
Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list