prevent abra app cp
from applying file permissions.
#525
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I run
abra app cp
to copy files from a container to my local system I get the following error:FATA[0008] failed to Lchown "filename.tar.gz" for UID 0, GID 0: lchown filename.tar.gz: operation not permitted
.The reason is that abra tries to change the owner of the file on my local system to the same owner as of the container, which is
root
.In the end everything works fine and the file is copied. But abra returns a non zero return code, which causes problems if I want to run abra from other scripts and check if it was successfully.
I think this got fixed in coop-cloud/abra#390. It now always sets the file ownership to the local user.
Maybe now we need a flag to use the original permissions?
I think its a good idea, I opened a followup issue: coop-cloud/organising#542