I have looked online with a lot of different solutions. They all do not work with my environment but one, sudo -H subl
I have tried a couple of thinks online, including one that looks to work for the ubuntu env by editing the application laynch, which is what I would prefer over exec in terminal sudo -H subl
Does anyone work with Sublime and can run it as root? my local dev env apache neds to owns the files for files creation etc. I run www/ as apache:myuser as group. But sublime needs to run as root to updated the files without it asking for sudo pass constantly.
I dont think this is how it should work. Doesnt sublike have polkit integration? Or I guess that is already what it does when asking for a password all the time.
You should contact the devs or use a different editor, if you ask me.