summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-09-29 03:22:24 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-29 06:17:46 -0700
commit95dd4ae4dc2a8a3b3673e60c1fa6cbdbb9409d2c (patch)
treeb46d16befe731a210b3c88e368868630a5d48938 /xlators/mgmt/glusterd/src/glusterd-utils.c
parent9406c06522f9e8ef8ee73f6da55937cb1fa04d22 (diff)
storage/posix: prevent chmod() from getting called on symlinks
symlinks, if at all their mode can be changed (on non-linux platforms) can only be done via lchmod(). Attempting chmod on a symlink can be disastrous. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 881 (GlusterFS daemon hangs on replication of symlink (3.0.4)) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=881
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
0 files changed, 0 insertions, 0 deletions