Hazelworker password prompt


#1

I have a simple applescript that takes a file we’ve received from our network photocopier and changes the file ownership to the current user. Hazel then renames the file.

set thePath to the POSIX path of theFile
do shell script "chown <username> " & thePath password "<password>" with administrator privileges

This ran fine in versions in OS X prior to Mojave but now hazelworker is always prompting me for my password when it runs making it much less useful. Any suggestions? I have already tried adding hazel to accessibilty and full disk access in security & privacy


#2

Have you contacted the Hazel developer about this? What did he say?


#3

I think you need to add the HazelHelper rather than Hazel:

https://www.noodlesoft.com/kb/giving-hazel-full-disk-access-on-mojave/