Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.99k stars 11.36k forks source link

syncthing won't autostart #38593

Closed nathan-thenut closed 9 years ago

nathan-thenut commented 9 years ago

Syncthing won't autostart due to not having admin rights for /usr/local/var/log/syncthing.log. Changed the logpath in the plist file to /tmp/syncthing.log and it works fine. Here is my old plist file: https://paste.xinu.at/iAq/ The plist file is created via the formula.

DomT4 commented 9 years ago

sudo chown -R $(whoami) /usr/local should resolve the errors by making sure var is owned by you.

nathan-thenut commented 9 years ago

But is it really a good idea to own /usr/local as a normal user?

DomT4 commented 9 years ago

Nothing is normally in /usr/local, so it's not like you're suddenly unrooting system utilities. If you're strongly against /usr/local though you shouldn't install Homebrew there. Without the correct permissions to write across directories you'll run into endless pain.

MikeMcQuaid commented 9 years ago

But is it really a good idea to own /usr/local as a normal user?

Yes. You can write to /Applications as a normal user too.

jacknagel commented 9 years ago

Closing per the above.