You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
All files created using Obsidian inside container are created as root. This is because program is actually running as root.
To Reproduce
Create a new note in Obsidian.
Check owner
Expected behavior
Start Obsidian program as normal user with id as PUID variable
Screenshots
Desktop (please complete the following information):
Any
Additional context
I've tried to modify Dockerfile to run apt-get remove sudo, but it is not allowed as root user has no password.
I've used rm /usr/bin/sudo instead
After that I've removed sudo references in root/autostart and root/menu.xml and now Obsidian works as non root user. Removing sudo makes that xterm cannot scale to root, making the container more secure.
I can do a PR if you like
Regards
The text was updated successfully, but these errors were encountered:
Describe the bug
All files created using Obsidian inside container are created as root. This is because program is actually running as root.
To Reproduce
Expected behavior
Start Obsidian program as normal user with id as PUID variable
Screenshots
Desktop (please complete the following information):
Any
Additional context
I've tried to modify Dockerfile to run
apt-get remove sudo
, but it is not allowed as root user has no password.I've used
rm /usr/bin/sudo
insteadAfter that I've removed sudo references in
root/autostart
androot/menu.xml
and now Obsidian works as non root user. Removing sudo makes that xterm cannot scale to root, making the container more secure.I can do a PR if you like
Regards
The text was updated successfully, but these errors were encountered: