macprefs icon indicating copy to clipboard operation
macprefs copied to clipboard

backup/restore exit code 23

Open musabos opened this issue 5 years ago • 2 comments

Hi Clint (and others),

Upon running backup it returned error code 23. Files were created though. So I just tried the restore. The same holds for the restore. Output logs are attached. I run the v1.0.26 script in Mojave. Can someone help? macprefs-backup.log macprefs-restore.log

Thanks in advance!

Agape

musabos avatar Jan 29 '19 08:01 musabos

Permission of /Library/LaunchDaemons/com.microsoft.OneDriveUpdaterDaemon.plist seems to be 600. Cause the program is not run by root, the specific file could not be copied.

You could try to fix the perm of this plist manually.

sudo chmod 644 /Library/LaunchDaemons/com.microsoft.OneDriveUpdaterDaemon.plist

laggardkernel avatar Jun 13 '19 16:06 laggardkernel

As a side note, if you run into ls operation not permitted issue for /Library/Application Support/com.apple.sharedfilelist/, you need to give Full Disk Access to Terminal.

junjizhi avatar Nov 08 '19 15:11 junjizhi