Page 1 of 1

Scripts folder security and permissions

PostPosted: Thu Sep 01, 2022 9:49 am
by Different Computers
Is there any reason I should avoid giving my admin user account write permissions to /Library/Perceptive Automation/Scripts ? Every time I try to save a script there currently, I get a lot of excess permission wrangling.

Re: Scripts folder security and permissions

PostPosted: Thu Sep 01, 2022 3:01 pm
by DaveL17
There is a wiki page that briefly describes what the folder should be used for:

Wiki wrote:
/Library/Application Support/Perceptive Automation/Scripts – any linked scripts you use for Indigo Schedules and Actions using the “Execute Script (Script and File Actions” command should be stored in this folder.

While a bit inconvenient, it's not terribly hard to use the folder.

Code: Select all
Last login: Thu Sep  1 15:45:27 on ttys003
Dave@my-mac Scripts % touch test.txt
touch: test.txt: Permission denied
Dave@my-mac Scripts % sudo touch test.txt
Password:
Dave@my-mac Scripts % ls
test.txt
Dave@my-mac Scripts %
Keeping the permissions where they are is a good security measure. (I don't know this for certain, but I suspect that the Indigo installer would revert any changes as well.)

Re: Scripts folder security and permissions

PostPosted: Thu Sep 01, 2022 5:01 pm
by Different Computers
Thanks. I suspected the same about new versions rolling back any changes.

Don’t see anything about permissions for that folder in the linked doc.

Re: Scripts folder security and permissions

PostPosted: Sat Sep 03, 2022 10:14 am
by jay (support)
I think that's an installer bug, but we'll get back to you.

Re: Scripts folder security and permissions

PostPosted: Mon Sep 05, 2022 2:16 pm
by matt (support)
This was indeed an installer bug. The next installer version will correct the permissions (and owner) for that folder, or you can do it now manually if you want.

Re: Scripts folder security and permissions

PostPosted: Mon Sep 05, 2022 3:37 pm
by Different Computers
Thanks guys!