summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorSachin Pandit <spandit@redhat.com>2014-11-25 07:20:38 +0530
committerVijay Bellur <vbellur@redhat.com>2014-12-01 08:04:06 -0800
commiteee41566697583f74784d9f9ff78651535d6eb91 (patch)
treeb84841671ca459ae8e3e07999d4eb37999af0f9d /extras
parenta93164cd2a7f7ec37cf30d52b1a73fdc211981c3 (diff)
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@redhat.com> Reviewed-on: http://review.gluster.org/9194 Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions