obsidian-remote icon indicating copy to clipboard operation
obsidian-remote copied to clipboard

Remove sudo to disallow root permission

Open gmag11 opened this issue 2 years ago • 2 comments

My proposal to solve #80

gmag11 avatar Nov 17 '23 17:11 gmag11

Looks like a good solution, but what happens if an existing containers upgraded can the new containers to access the stuff under root from the non root account ?

sytone avatar Nov 18 '23 18:11 sytone

Yes, if you reassign owner of files to whatever PUID and GUID values you have set with chown -R... If obsidian runs as root, all files created with be owned by root. With proposed changes files would be owned by PUID:GUID.

Test it in your system before merging :)

gmag11 avatar Nov 24 '23 13:11 gmag11