Added a comment
This commit is contained in:
parent
3007e3c177
commit
16d35e04bf
1 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="yarikoptic"
|
||||||
|
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||||
|
subject="comment 10"
|
||||||
|
date="2021-08-27T01:38:54Z"
|
||||||
|
content="""
|
||||||
|
ha -- I have mentioned that there is `--no-preserve` so I have tried it with -a to exclude xattr and it seems to do the trick as well
|
||||||
|
|
||||||
|
```
|
||||||
|
(datalad) [d31548v@discovery7 _test_]$ rm -f bar baz
|
||||||
|
(datalad) [d31548v@discovery7 _test_]$ echo bar > bar
|
||||||
|
(datalad) [d31548v@discovery7 _test_]$ chmod 444 bar
|
||||||
|
(datalad) [d31548v@discovery7 _test_]$ cp --reflink=auto -a --no-preserve=xattr bar baz
|
||||||
|
(datalad) [d31548v@discovery7 _test_]$ chmod 644 baz
|
||||||
|
(datalad) [d31548v@discovery7 _test_]$ ls -l baz
|
||||||
|
-rw-r--r-- 1 d31548v rc-DBIC-bids 4 Aug 26 21:36 baz
|
||||||
|
```
|
||||||
|
|
||||||
|
so may be just worth explicitly excluding xattr instead of explicitly including some of the others? ;)
|
||||||
|
"""]]
|
Loading…
Add table
Reference in a new issue