[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Thoughts on automatically updating tor software on macos High Sierra



Tried that twice now and it has not worked. It’s strange, the error terminal returns when trying to launch the script to upgrade tor is this


iMac:~ oldimac$ launchctl load -w /Library/LaunchDaemons/starttorupgrade.plist
/Library/LaunchDaemons/starttorupgrade.plist: Path had bad ownership/permissions

This is very odd. I set the permissions to read and write for all users, but yet this error is still happening. I changed the permissions for the whole lanchdaemons folder as well and still no resolve to this. I even tried signing into the root user in Terminal to see if that would resolve the issue, it did not. 




Here is the code for the two scripts I wrote, they were too big to send as attachments. Perhaps I am doing something wrong? I do not know.


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

    <key>Label</key>

    <string>com.oldimac.upgradetor</string>

    <key>ProgramArguments</key>

    <array>

        <string>/Library/LaunchDaemons/upgradetor.plist </string>

    </array>

    <key>StartInterval</key>

    <integer>80000</integer>

</dict>

</plist>



code for upgradetor.plist:

brew upgrade tor



On Jul 9, 2018, at 8:45 PM, Keifer Bly <keifer.bly@xxxxxxxxx> wrote:

Tried that twice now and it has not worked. It’s strange, the error terminal returns when trying to launch the script to upgrade tor is this


iMac:~ oldimac$ launchctl load -w /Library/LaunchDaemons/starttorupgrade.plist
/Library/LaunchDaemons/starttorupgrade.plist: Path had bad ownership/permissions

This is very odd. I set the permissions to read and write for all users, but yet this error is still happening. I changed the permissions for the whole lanchdaemons folder as well and still no resolve to this. I even tried signing into the root user in Terminal to see if that would resolve the issue, it did not. I’ve attached the scripts I created if someone wouldn’t mind helping me take a look tp see if anything is wrong? Thank you.

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays