Skip to content

Conversation

@akesandgren
Copy link
Contributor

cp -a will try to copy attributes, when the copy is from a file system type with attributes that doesn't work on the target file system this will fail

This will solve #4234

cp -a will try to copy attributes, when the copy is from a file system
type with attributes that doesn't work on the target file system this will fail
@akesandgren akesandgren added this to the 4.x milestone Feb 23, 2024
@akesandgren
Copy link
Contributor Author

Note, using "cp -a --no-preserve=xattr" doesn't help, it would have to be "cp -a --no-preserve=mode" to work inside a container if the source file has ACL's.
So "cp -dR" is a better solution.

@boegel boegel changed the title Use cp -dR instead of cp -a for shell script extraction use cp -dR instead of cp -a for shell script extraction Feb 27, 2024
@easybuilders easybuilders deleted a comment from boegelbot Feb 27, 2024
@boegel boegel modified the milestones: 4.x, release after 4.9.0 Feb 27, 2024
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel boegel merged commit 8128fb1 into easybuilders:develop Feb 27, 2024
@akesandgren akesandgren deleted the use_cp-dR_not-cp-a branch February 28, 2024 06:27
@boegel boegel changed the title use cp -dR instead of cp -a for shell script extraction use cp -dR instead of cp -a for shell script "extraction" Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants