Run cp -a with --no-preserve=xattr, to avoid problems with copied xattrs
Including them breaking permissions setting on some NFS servers. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
7b1709105a
commit
e17342b2a0
5 changed files with 62 additions and 1 deletions
|
@ -25,6 +25,7 @@ tests =
|
|||
, testCp "cp_p" "-p"
|
||||
, testCp "cp_preserve_timestamps" "--preserve=timestamps"
|
||||
, testCpReflinkAuto
|
||||
, testCpNoPreserveXattr
|
||||
, TestCase "xargs -0" $ testCmd "xargs_0" "xargs -0 </dev/null"
|
||||
, TestCase "rsync" $ testCmd "rsync" "rsync --version >/dev/null"
|
||||
, TestCase "curl" $ testCmd "curl" "curl --version >/dev/null"
|
||||
|
@ -62,6 +63,11 @@ testCpReflinkAuto = testCp k "--reflink=auto"
|
|||
where
|
||||
k = "cp_reflink_supported"
|
||||
|
||||
testCpNoPreserveXattr :: TestCase
|
||||
testCpNoPreserveXattr = testCp
|
||||
"cp_no_preserve_xattr_supported"
|
||||
"--no-preserve=xattr"
|
||||
|
||||
getUpgradeLocation :: Test
|
||||
getUpgradeLocation = do
|
||||
e <- getEnv "UPGRADE_LOCATION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue