I'm implementing bash script to rsync all backup folders in my TimeMachine to my NAS storage in the same local network. After the rsync is completed, I tried to rsync back from NAS to my TimeMachine but failed. The error messages are as below:
rsync: delete_file: unlink
"/Volumes/TimeMachine/Backups.backupdb/kongycmac/2017-05-16-
120657/Mac OS/usr/share/man/mann/S3.n" failed: Operation not
permitted (1)
After further checked on the file permissions, I realised that the file permission for my backup folder in TimeMachine and backup folder in NAS are different, as below:
TimaMachine Backup:
drwxr-xr-x@ 4 root wheel 136 May 16 12:06 kongycmac
NAS Backup:
drwxr-xr-x 4 root root 4096 May 12 17:37 2017-05-
12-173741
What does the '@' means in TimeMachine Backup folder? What shall I do to change my folder permission in NAS backup to become drwxr-xr-x@ ?
Scratching my head in this issue for 3 days, appreciate if anyone can provide a good suggestion for this.