Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chmod: changing permissions of '/home/bitcoin/.bitcoin': Permission denied #144

Open
realSConway opened this issue Dec 13, 2022 · 0 comments

Comments

@realSConway
Copy link

realSConway commented Dec 13, 2022

Hello experts,

I'm trying to run ruimarinho/bitcoin-core container with podman as a root-less user with UID/GUID 1000.

$ id
uid=1000(support) gid=1000(support) groups=1000(support),480(bitcoin) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Command used:

podman run  \
    --name bitcoin-core \
    --user 1000:1000 \
    --volume data-bitcoin-core:/home/bitcoin/.bitcoin \
    ruimarinho/bitcoin-core

When running container, error:
chmod: changing permissions of '/home/bitcoin/.bitcoin': Permission denied

volume info:

$  l -la $HOME/.local/share/containers/storage/volumes/data-bitcoin-core/
total 0
drwx------. 1 support support  10 Dec 12 21:51 ./
drwx------. 1 support support 742 Dec 13 21:31 ../
drwxr-xr-x. 1 support support   0 Dec 12 21:48 _data/

What am I doing wrong?
Kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant