-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
[BUG] UMASK does not affect settings.json
#272
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
the environment variable seems to be ignored completely in my case
the above container was generated with |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue still exists. |
i can confirm that this issue exists this was initially ignored because the OP didn't understand how umask works and was providing incorrect interpretations of chmods. ie, OP stated chmod 400 results in with that said, the issue is this, which narky covered in their reply.
If i manually bash in and run
test2 is a folder created after setting manually
we will look into this issue and determine why it is happening. |
It looks like this file root/etc/s6-overlay/s6-rc.d/init-transmission-config/run is missing a UMASK section to update the settings.json |
Is there an existing issue for this?
Current Behavior
When starting the container,
settings.json
is chmod' 400.ls -la /path/to/settings.json
gives-r--r----- 1 transmission 2852 Jan 7 02:36 seedbox/config/transmission/config/settings.json
Expected Behavior
ls -la /path/to/settings.json
should give-rw-r----- 1 transmission 2852 Jan 7 02:36 seedbox/config/transmission/config/settings.json
Steps To Reproduce
In docker compose file set:
UMASK=2
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: