-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
[FEAT] Ramdisk for logs lacking folder ownership for non-root user #419
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
You can set the IDs of tmpfs. https://docs.docker.com/engine/storage/tmpfs/#options-for---tmpfs |
Thanks, This is great for when you have full control over all docker options, I can manage with this and it will work indeed, however if you use wrappers around docker like for example synology / truenas / ... you don't always have access to configure this. I understand this is extremely niche, but it would be a quality of life improvement to make sure it's chowned properly on boot of the container. Which I thought it would do here:
But the ramdisk remains root:root |
Realistically our main aim for support is using docker compose, which while those platforms you mention, all of them can run docker compose so I don't think we need to add anything. |
Is this a new feature request?
Wanted change
I have a small nitpick especially when it comes to using ram disks
Plex is rather spammy with logs and even with as much logging disabled as possible it still writes quite a lot to the log file, if someone were to mount a ramdisk to the logs folder (/config/Library/Application Support/Plex Media Server/Logs) that would reduce IO, but unfortunately the ramdisk has default ownership of root:root with 770 permissions.
It would be nice if on boot we would make sure the permissions are set correctly on this folder and if not change ownership, that way things would be easier for people preferring ram disks for their log folder.
Reason for change
Reduce disk usage while running plex as much as possible to conserve the lifetime of the disks that it uses.
Proposed code change
No response
The text was updated successfully, but these errors were encountered: