I am in the process of writing a utility to conduct the batch renaming of files in my user account. Unfortunately some files have "custom privileges" set and can not be renamed unless I enter my account password. My Livecode application just ignores them and moves along. I have checked with Apple and they suggest that the privileges should be left as is and that my application or my command should be granted SUDO privileges. I wonder if there is anyway of granting a Livecode Application the SUDO privilege ?
This is an example of a file with custom privileges which I now know means "too complicated for the get info window". They have probably come about by either being created on a Windows machine or round tripping via Windows.
Code: Select all
drwxr-xr-x@ 4 skids staff 128 7 Nov 2019 SCR IOA_Build18.rtfd
Code: Select all
sudo mv "SCR IOA_Build18.rtfd" SCRIOA_Build18.rtfd
best wishes
Simon