Closed vikaskedia closed 6 years ago
I don't see how this is an issue/problem with Outset. This is a problem with your boot-once.sh script. defaults
always sets the mode of files it writes to 600. You should fix/change your script to reset the mode to 644 after using defaults
.
Verified the permissions are correct when installed. This has come up before, and is probably due to the wiki recommending using defaults
to manipulate this (non-preference) plist, which is probably bad advice. I updated the wiki https://github.com/chilcote/outset/wiki/NetworkTimeout to include a note about permissions.
probably due to the wiki recommending using defaults to manipulate this (non-preference) plist
yes
I updated the wiki https://github.com/chilcote/outset/wiki/NetworkTimeout to include a note about permissions.
thanks
This does not work
Inside /usr/local/outset/boot-once/boot-once.sh I set:
defaults write /usr/local/outset/share/com.chilcote.outset.plist wait_for_network false
This results in: /usr/local/outset/share/com.chilcote.outset.plist to have the permission set -rw------- root:wheel
This results in the login-every script not executing.
This works
If I do not set "defaults write /usr/local/outset/share/com.chilcote.outset.plist wait_for_network false " inside /usr/local/outset/boot-once/boot-once.sh then the permissions are: