Hide Forgot
pranith @ /mnt/client 15:10:20 :) $ ls -l total 16 drwxr-xr-x 2 pranith admin 4096 2011-02-02 15:09 1 drwxr-xr-x 2 pranith admin 4096 2011-02-02 15:09 2 drwxr-xr-x 2 pranith admin 4096 2011-02-02 15:09 3 drwxr-xr-x 2 pranith admin 4096 2011-02-02 15:09 4 pranith @ ~ 15:10:55 :( $ sudo gluster volume add-brick root-prob `hostname`:/root-prob1 Add Brick successful pranith @ ~ 15:11:21 :) $ ls -lR /mnt/client /mnt/client: total 32 drwxr-xr-x 2 pranith admin 8192 2011-02-02 15:11 1 drwxr-xr-x 2 pranith admin 8192 2011-02-02 15:11 2 drwxr-xr-x 2 pranith admin 8192 2011-02-02 15:11 3 drwxr-xr-x 2 pranith admin 8192 2011-02-02 15:11 4 pranith @ ~ 15:11:38 :) $ ls /root-prob1/ -l total 16 drwxr-xr-x 2 root root 4096 2011-02-02 15:11 1 drwxr-xr-x 2 root root 4096 2011-02-02 15:11 2 drwxr-xr-x 2 root root 4096 2011-02-02 15:11 3 drwxr-xr-x 2 root root 4096 2011-02-02 15:11 4
PATCH: http://patches.gluster.com/patch/6120 in master (cluster/dht: restore attrs of dirs in self-heal)
tested against commit-id "26cedae57d5b7cb8d50ed077ce29c92e30d6e260" newly added bricks has correct permissions- [root@client3 ~]# ls -l /data/laks/dht1 total 40 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 1 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 2 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 3 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 4 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 5 [root@client3 ~]# ls -l /data/laks/dht2 total 40 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 1 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 2 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 3 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 4 drwxr-xr-x 2 lakshmipathi root 4096 Mar 9 23:12 5
*** Bug 2531 has been marked as a duplicate of this bug. ***