what makes you believe that ssh is accessing the files ?
ok, rsync on remote mac is being spawned by sshd, so i gave full disk
access to the sshd binary , too (as it may inherit restrictions to sub
processes) and restarted ssh service ,
but unfortunately it makes no difference.
did you mean that or something different ?
roland
Am 28.03.20 um 16:20 schrieb Ben Bass:
> Hi Roland.
>
> You might have to give ssh full disk access on the remote Mac, as that
> is what is accessing the files according to the Mac.
>
> On Sat, Mar 28, 2020 at 9:12 AM Roland via rsync
> <rsync at lists.samba.org <mailto:rsync at lists.samba.org>>
wrote:
>
> hello,
>
> does somebody know how to circumvent that "extra file access
> restriction
> feature" introduced in osx some time ago ?
>
> i already tried adding rsync binary to programms with "full disk
> access"
> privilege ( system-prefs -> security & privacy -> privacy
-> full disk
> access)? , since running as root is not sufficient - but it does
> not work.
>
> i want to make sure that every file on osx is getting backup
>
> i run rsync on linux to remotely backup osx system (via ssh).
>
> regards
> roland
>
>
> rsync:
>
readlink_stat("/private/var/folders/_p/ky_w_lyj6ps7jcnkjkl5ss0m0000gn/0/com.apple.routined")
> failed: Operation not permitted (1)
> rsync:
>
readlink_stat("/private/var/folders/_p/ky_w_lyj6ps7jcnkjkl5ss0m0000gn/0/com.apple.Safari/SafariFamily")
> failed: Operation not permitted (1)
> rsync:
>
readlink_stat("/private/var/folders/_p/ky_w_lyj6ps7jcnkjkl5ss0m0000gn/C/com.apple.WebKit.WebContent.Sandbox")
> failed: Operation not permitted (1)
> rsync:
>
readlink_stat("/private/var/folders/_p/ky_w_lyj6ps7jcnkjkl5ss0m0000gn/C/com.apple.QuickLook.thumbnailcache")
> failed: Operation not permitted (1)
> rsync:
>
readlink_stat("/private/var/folders/_p/ky_w_lyj6ps7jcnkjkl5ss0m0000gn/C/com.apple.WebKit.Networking.Sandbox")
> failed: Operation not permitted (1)
> rsync: opendir
> "/private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0"
failed:
> Operation not permitted (1)
> rsync: opendir
> "/private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C"
failed:
> Operation not permitted (1)
>
> # ls -l@ /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/
> total 0
> drwxr-xr-x@? 2 _locationd? _locationd?? 64? 3 Nov? 2017 0
> ???? com.apple.rootless??? ?-1
> drwx------@ 17 _locationd? _locationd? 544 19 Jan 23:03 C
> ???? com.apple.rootless??? ?-1
> drwx------@? 2 _locationd? _locationd?? 64? 3 Nov? 2017 T
> ???? com.apple.rootless??? ? 7
>
>
> --
> Please use reply-all for most replies to avoid omitting the
> mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
> http://www.catb.org/~esr/faqs/smart-questions.html
>
>
>
> --
> -Ben
> (917) 536-0998
> ben at benbass.com
> <mailto:ben at benbass.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20200328/c3b4c086/attachment.htm>