[Bugs] [Bug 1167580] [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
Mon Dec 1 16:04:10 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1167580
--- Comment #9 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9194 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit eee41566697583f74784d9f9ff78651535d6eb91
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: 1167580
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>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=NehZPA7WaL&a=cc_unsubscribe
More information about the Bugs
mailing list