chilcote / outset

Automatically process packages, profiles, and scripts during boot, login, or on demand.
572 stars 58 forks source link

Bad Permissions error when running any script. #64

Closed B-Whittaker closed 5 years ago

B-Whittaker commented 5 years ago

Been trying to get this working for a while now and cant think of what might be causing this.

I have tried multiple scripts, that when run in terminal separately from outset, work without any issues. The main 2 I have been using as tests have been .sh and .py files with chmod +x checked on both (777).

when manually invoked through outset using --login-every it provides the error 'Bad Permissions'. outset-bad-perms

I have tried them with login-privileged-every and it provides the same results. I have tried it with 2 different Macbooks, one on Mojave and the other High-Sierra. Also tried using sudo to elevate the manual execution through outset and this didn't work either.

This is what's contained in the SafariSettings1.sh file if that helps? image

vmiller commented 5 years ago

Your scripts should have the ownership set to root and the mode set to 755.

B-Whittaker commented 5 years ago

Can't believe I missed that! Thanks a million :)