Hi,
I am backing up a couple of MacMinis. Up to now I did this as user
"admin" who is the local administrator on every machine. This worked
quite fine.
Now I upgraded some of these Macs to Sequoia (v15.x) and I got rsync
errors. Doing troubleshooting on shell I saw loads of permission errors:
=============================
This is the rsync child about to exec /usr/libexec/backuppc-rsync/rsync_bpc
cmdExecOrEval: about to exec /usr/libexec/backuppc-rsync/rsync_bpc
--bpc-top-dir /var/lib/backuppc --bpc-host-name macnm1 --bpc-share-name
/Users/nm1 --bpc-bkup-num 45 --bpc-bkup-comp 0 --bpc-bkup-prevnum -1
--bpc-bkup-prevcomp -1 --bpc-bkup-inode0 35602 --bpc-log-level 1
--bpc-attrib-new -e /usr/bin/ssh\ -l\ admin --rsync-path=/usr/bin/rsync
--super --recursive --numeric-ids --perms --owner --group -D --times
--links --hard-links --delete --delete-excluded --one-file-system
--partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats
--timeout=720 mnm1:/Users/nm1/ /
rsync: warning: /Users/nm1/./.config/.mono/keypairs: unreadable
directory: Permission denied
rsync: warning: /Users/nm1/./Music: unreadable directory: Permission denied
[...]
rsync: warning: /Users/nm1/./.zsh_sessions: unreadable directory:
Permission denied
Xfer PIDs are now 150108,150110
xferPids 150108,150110
[...]
__bpc_progress_fileCnt__ 421
rsync: error: /Users/nm1/./.CFUserTextEncoding: open (2) in
/Users/admin: Permission denied
rsync_bpc: connection unexpectedly closed (2434501 bytes received so
far) [receiver]
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 35603 inode
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[receiver=3.1.3.0]
__bpc_progress_fileCnt__ 441
rsync_bpc: [generator] write error: Broken pipe (32)
[...]
rsync_bpc exited with fatal status 10 (2560) (rsync error: error in
socket IO (code 10) at io.c(820) [generator=3.1.3.0])
===================
I guess this is somehow related to the new MacOS security "enhancements"....
I mitigated this now by using the user account (nm1) instead of the
admin user. As I am backing up only the user directory this is indeed
more secure. However, I am interested if there is a setting in MacOS
which will allow the admin user to backup the user's directories?
Thanks!
/CV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/