[Dirvish] ACL support

Tom Jermy tomjermy at gmail.com
Fri Apr 4 18:57:03 UTC 2014


No, I didn't indent - have now and get the action:

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

Sadly the acls are still not being copied however:

[root at dc snapshot]# 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 snapshot]# getfacl 2014.04.04-19.00.01/tree/Company/Final\
Accounts/
# file: 2014.04.04-19.00.01/tree/Company/Final Accounts/
# owner: root
# group: root
user::rwx
group::rwx
other::---

Would be very grateful if you had other suggestions?

Thanks


On 4 April 2014 11:35, Jason Boxman <jasonb at edseek.com> wrote:

> Did you indent? That config option takes a list and each item must be
> indented a space or a tab. I have ACLs enabled on my config.
> On Apr 4, 2014 6:32 AM, "Tom Jermy" <tomjermy at gmail.com> wrote:
>
>> 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
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Dirvish mailing list
>> Dirvish at dirvish.org
>> http://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/3c25d8f8/attachment.htm>


More information about the Dirvish mailing list