[Dirvish] ACL support

Tom Jermy tomjermy at gmail.com
Fri Apr 4 10:31:33 UTC 2014


OK so I've put the following in both /etc/dirvish/master.conf and
/mnt/iscsi/snapshot/dirvish/default.conf

rsync-option:

-a

-X


... but when I look at the summary file I see that the following
command is called:



rsync -vrltH --delete -pgo --stats -S -D --numeric-ids --bwlimit=50000
--exclude-from=/mnt/iscsi/snapshot/2014.04.04-11.11.06/exclude
--link-dest=/mnt/iscsi/snapshot/2014.04.04-11.00.01/tree /home/
/mnt/iscsi/snapshot/2014.04.04-11.11.06/tree


Please can someone tell me what I'm doing wrong?


Thank you



On 3 April 2014 14:06, Tom Jermy <tomjermy at gmail.com> wrote:

> ... so:
>
> rsync-option:
>
> -A
>
> -X
>
>
> needs to go in my /etc/dirvish/master.conf, yes?
>
>
>
> On 3 April 2014 14:02, Tamas Papp <tompos at martos.bme.hu> wrote:
>
>>  Use the appropriate rsync switches:
>>
>>         -A, --acls                  preserve ACLs (implies -p)
>>         -X, --xattrs                preserve extended attributes
>>
>>
>> tamas
>>
>>
>> On 04/03/2014 02:58 PM, Tom Jermy wrote:
>>
>>  Hello,
>>
>>  I'm not getting ACL's copied when using dirvish - it's operating on a
>> local basis, copying files to an ext4 filesystem.
>>
>>  EG:
>>
>>   [root at dc tree]# getfacl /home/Company/Final\ Accounts/
>>  getfacl: Removing leading '/' from absolute path names
>> # file: home/Company/Final Accounts/
>> # owner: root
>> # group: root
>> user::rwx
>> user:root:rwx
>> group::---
>> group:root:---
>> group:users:rwx
>> mask::rwx
>> other::---
>> default:user::rwx
>> default:user:root:rwx
>> default:group::---
>> default:group:root:---
>> default:group:users:rwx
>> default:mask::rwx
>> default:other::---
>>
>>   [root at dc tree]# getfacl
>> /mnt/iscsi/snapshot/2014.04.03-13.00.01/tree/Company/Final\ Accounts/
>> getfacl: Removing leading '/' from absolute path names
>> # file: mnt/iscsi/snapshot/2014.04.03-13.00.01/tree/Company/Final
>> Accounts/
>> # owner: root
>> # group: root
>> user::r-x
>> group::r-x
>> other::r-x
>>
>>  Anyone have any ideas?
>>
>>  Thanks
>>
>>
>>
>> _______________________________________________
>> Dirvish mailing listDirvish at dirvish.orghttp://www.dirvish.org/mailman/listinfo/dirvish
>>
>>
>>
>> _______________________________________________
>> Dirvish mailing list
>> Dirvish at dirvish.org
>> http://www.dirvish.org/mailman/listinfo/dirvish
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dirvish.org/pipermail/dirvish/attachments/20140404/97c28d8e/attachment.htm>


More information about the Dirvish mailing list