[gpfsug-discuss] Copying ACLs between filesystems

Orlando Richards orlando.richards at ed.ac.uk
Fri Sep 28 12:06:27 BST 2012


On 28/09/12 11:28, Barry Evans wrote:
> Just tried rsync -A (preserve acl's) on this end, no joy there either.
> two filesystems, same machine.
>
> sounds very, very evil but have you tried robocopy from one share to
> another? Not ideal.

I've considered it - but not yet desperate enough to try it :)

Still looking for something sane.

Good to see I'm not just missing something blatantly obvious though!

>
> Cheers,
> Barry
>
>
>
> On 28 Sep 2012, at 11:03, Orlando Richards <orlando.richards at ed.ac.uk
> <mailto:orlando.richards at ed.ac.uk>> wrote:
>
>> Hi folks,
>>
>> Does anyone know a good way to sync files between two gpfs
>> filesystems, while preserving NFSv4 ACL's?
>>
>> I've tried rsync and cp - neither of which seem to copy over acls.
>>
>> Sample test:
>>
>> # mkdir test
>> # mmeditacl -k nfs4 test
>> # mmgetacl test
>> #NFSv4 ACL
>> #owner:root
>> #group:root
>> group:1234:rwxc:allow:FileInherit:DirInherit
>> (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL
>> (X)READ_ATTR  (-)READ_NAMED
>> (-)DELETE    (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL
>> (X)WRITE_ATTR (-)WRITE_NAMED
>>
>> # rsync -av test/ test2/
>> [root at mwvm06 nasdev]# mmgetacl -k nfs4 test2
>> #NFSv4 ACL
>> #owner:root
>> #group:root
>> special:owner@:---c:allow
>> (-)READ/LIST (-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL
>> (X)READ_ATTR  (-)READ_NAMED
>> (-)DELETE    (-)DELETE_CHILD (X)CHOWN (-)EXEC/SEARCH (X)WRITE_ACL
>> (X)WRITE_ATTR (-)WRITE_NAMED
>>
>> special:group@:----:allow
>> (-)READ/LIST (-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL
>> (X)READ_ATTR  (-)READ_NAMED
>> (-)DELETE    (-)DELETE_CHILD (-)CHOWN (-)EXEC/SEARCH (-)WRITE_ACL
>> (-)WRITE_ATTR (-)WRITE_NAMED
>>
>> special:everyone@:----:allow
>> (-)READ/LIST (-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL
>> (X)READ_ATTR  (-)READ_NAMED
>> (-)DELETE    (-)DELETE_CHILD (-)CHOWN (-)EXEC/SEARCH (-)WRITE_ACL
>> (-)WRITE_ATTR (-)WRITE_NAMED
>>
>>
>>
>>
>>
>> --
>>            --
>>   Dr Orlando Richards
>>  Information Services
>> IT Infrastructure Division
>>       Unix Section
>>    Tel: 0131 650 4994
>>
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>> _______________________________________________
>> gpfsug-discuss mailing list
>> gpfsug-discuss at gpfsug.org <mailto:gpfsug-discuss at gpfsug.org>
>> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>
>
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at gpfsug.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>


-- 
             --
    Dr Orlando Richards
   Information Services
IT Infrastructure Division
        Unix Section
     Tel: 0131 650 4994

The University of Edinburgh is a charitable body, registered in 
Scotland, with registration number SC005336.



More information about the gpfsug-discuss mailing list