Deploying files into the users home/Library folder impossible due to insufficient permissions

I am trying to deploy a Powerpoint template to the proper directory (/Users/<username>/Group Containers/....) on all managed Macs.

Copying the template into the /tmp folder on the Macs works, but....

When I execute the post download script, the copying / moving (with cp or mv) to the proper directory fails due to insufficient permissions of the destination folder (/Users/<username>/Group Containers/....). However, the script is executed as root. So the permissions should be sufficient. But still it does not work. 

I researched a little: it might be that this is connected to the security measures on OSX Sequoia.

My question: Is there any way to copy the template into the intended folder? Any special tricks with MobiControl?

Any hint?

5 months ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
5 months ago

If you have confirmed that your problem stems from permission of MobiControl agent on involved directories, you can consider adding scheduled (say every 2 or 5 minutes) bash/zsh/Powershell script to check and then copy./move files from the MacOS directory writable by MobiControl agent to the actual destination directory.

A
ABMOD@SOTI
5 months ago

Hi Rainer,

Thanks for posting on SOTI Pulse, Thanks Raymond for responding to the post, your expertise and willingness to help are greatly appreciated!

Have you had an opportunity to test the suggested solutions by Raymond and Rafael, and has it successfully addressed your query?

If not, or If you have any additional questions or concerns, please don't hesitate to reach out. We're dedicated to providing assistance and support.