summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs-inodes.h
diff options
context:
space:
mode:
authorshishir gowda <sgowda@redhat.com>2013-05-16 19:32:49 +0530
committerVijay Bellur <vbellur@redhat.com>2013-05-16 08:49:39 -0700
commit1a7e6053d3842761f946fbbdd693c72aa3945a97 (patch)
treefe459937358109e966a5ac615adbeb590a359119 /xlators/nfs/server/src/nfs-inodes.h
parentddc0b45c4d4826e86500740f672892eeb28ab325 (diff)
cluster/dht: Linkfiles creation with correct uid/gidv3.3.2qa3
If renames are done with different uid/gid (non-owners), then we would end up with incorrect uid/gid. The fix is to create linkfiles, and heal the uid/gid as root:root. This preserves our notion of creation as root:root and heal the uid/gid as root:root in all paths. Additionally, we need to consider uid/gid from only src_cached subvol, and not from linkfiles. rename is also done as root:root if done on linkfile, as setattr of ownership on linkfile is done after the rename BUG: 884597 Change-Id: Ifaacd8dba0f39cb909761ffc8fe7e06cd44ec8de Signed-off-by: shishir gowda <sgowda@redhat.com> Reviewed-on: http://review.gluster.org/5025 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs-inodes.h')
0 files changed, 0 insertions, 0 deletions