I’m trying to use ChildProcess to run CHMOD so I can give write-access to my DATA folder. Is this the only way to do it? So far if I create a SH file with what I need and call from ChildProcess it works. But I would like to have a more direct method of doing that if possible.
Hi WilliamK surprised to see you are still here, lol, I bought you’d be a retired rich man by now.
According to other users, it won’t be possible to use this mechanism on Catalina, because it now requires an admin password for file access, so the shell just hangs waiting for the user’s admin password. Are they wrong? If you have a workaround that would be very good news.
Turns out it was the writeString that got my all wrong. As it adds some extra chars at the end which makes the SH no longer runs… I used writeText (the correct one) and now it works. Oh boy… I’m getting old… Thanks again guys. Will post the code once is all done.