diff options
| author | Sachin Pandit <spandit@redhat.com> | 2014-11-25 07:20:38 +0530 |
|---|---|---|
| committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-01-08 01:15:35 -0800 |
| commit | f19d5d1a704fda90743f8ff161ca7174cae2f48f (patch) | |
| tree | 88338f98e2e4acd8bf468700716199778e9a0d23 /xlators/features/snapview-server/src/snapview-server-helpers.c | |
| parent | c71dc72b7c4df6e1ea7193227d69ce0db18b5b93 (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: 1175739
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>
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/9340
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/snapview-server/src/snapview-server-helpers.c')
0 files changed, 0 insertions, 0 deletions
