prevent abra app cp
from applying file permissions. #525
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#525
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: #542