Try using the capital A instead.
On Apr 4, 2014 2:57 PM, "Tom Jermy" <[email protected]> wrote:

> 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@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@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 <[email protected]> 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" <[email protected]> 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 <[email protected]> wrote:
>>>
>>>> ... so:
>>>>
>>>> rsync-option:
>>>>
>>>> -A
>>>>
>>>> -X
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> needs to go in my /etc/dirvish/master.conf, yes?
>>>>
>>>>
>>>>
>>>> On 3 April 2014 14:02, Tamas Papp <[email protected]> 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@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@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 
>>>>> [email protected]http://www.dirvish.org/mailman/listinfo/dirvish
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dirvish mailing list
>>>>> [email protected]
>>>>> http://www.dirvish.org/mailman/listinfo/dirvish
>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Dirvish mailing list
>>> [email protected]
>>> http://www.dirvish.org/mailman/listinfo/dirvish
>>>
>>>
>> _______________________________________________
>> Dirvish mailing list
>> [email protected]
>> http://www.dirvish.org/mailman/listinfo/dirvish
>>
>>
>
> _______________________________________________
> Dirvish mailing list
> [email protected]
> http://www.dirvish.org/mailman/listinfo/dirvish
>
>
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to