podman creates ~/.config with 700 but systemctl creates ~/.config with 755 file permissions #15843
eriksjolund
started this conversation in
General
Replies: 1 comment 1 reply
-
No, Just that we create it more locked down then systemd does. Systemd will allow the noon owner user to list and search through the directory path, while we block this. I would figure container/storage or whatever library actually creates the directory did not think about it. I am not sure which of us is doing it correctly. Under what situation would different users on the system have to look at content of another users config directory? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed a small difference between how podman and systemctl creates the directory ~/.config
On a Fedora 36 computer a newly created user account does not have the directory ~/.config but
the directory will be created when running
podman run ...
orsystemctl edit --user --force --full a.service
. I noticed that the file permissions for ~/.config willbe different depending on which command that is being run.
podman run --rm docker.io/library/alpine true
systemctl edit --user --force --full a.service
Example "podman run --rm docker.io/library/alpine true"
Example "systemctl edit --user --force --full a.service"
About the system
Do you know why the file permissions for ~/.config are different?
(I guess the answer is that there is no standard for this and that podman and systemctl came to different conclusions about what is the best choice)
Beta Was this translation helpful? Give feedback.
All reactions