I am running into an issue with a cleanup worklet I am writing.
If I try to do anything in a users Downloads folder (/Users/username/Downloads) the commands return nothing, as if the directory is empty. The same behavior exists whether its a find command, or just a simple ls. I can do an ls on /Users/username, but not /Users/username/Downloads, and both directories are world readable.
running the same bash script from the command line both as root and as a non admin user show the script working fine.
I must be missing something obvious, but is there a reason automox wouldn’t be able to do this? or do I have some permission messed up?