Rsync options for reverse syncing

classic Classic list List threaded Threaded
2 messages Options
H
Reply | Threaded
Open this post in threaded view
|

Rsync options for reverse syncing

H
I am running the current version of rsync on Androic CM 11.2 and 12.1 on
phones and tablets. While syncing to a server works fine, I am having
problems with reverse syncing, specifically having the date and time set
for files on the reverse sync.

Currently the flags are "rsync - vHrlt --chmod=Du+rwx, go-rwx, Fu+rw,
go-rw --no-perms -e "ssh -y -p 22 -i '...'...* source destination" and
the error message is "rsync: failed to set times on ... operation not
permitted (1)". Since rsync is able to transfer the files, where lies
the problem with setting times?

Thank you.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Rsync options for reverse syncing

Kevin Korb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am no android expert but ISTR there being an issue with Android's
fuse driver that essentially prevents changing the timestamp on a file
unless you are running as root (and I think there was a boot time
security feature to change too).

On 02/11/2016 12:43 PM, H wrote:

> I am running the current version of rsync on Androic CM 11.2 and
> 12.1 on phones and tablets. While syncing to a server works fine, I
> am having problems with reverse syncing, specifically having the
> date and time set for files on the reverse sync.
>
> Currently the flags are "rsync - vHrlt --chmod=Du+rwx, go-rwx,
> Fu+rw, go-rw --no-perms -e "ssh -y -p 22 -i '...'...* source
> destination" and the error message is "rsync: failed to set times
> on ... operation not permitted (1)". Since rsync is able to
> transfer the files, where lies the problem with setting times?
>
> Thank you.
>

- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
        Kevin Korb Phone:    (407) 252-6853
        Systems Administrator Internet:
        FutureQuest, Inc. [hidden email]  (work)
        Orlando, Florida [hidden email] (personal)
        Web page: http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAla80q8ACgkQVKC1jlbQAQdaMgCgqMNV69tFGe6d4EshxzO8eMU6
9ooAoJXMza7uX7aKkXB2Cx+1RV4r16g6
=HY4A
-----END PGP SIGNATURE-----

--
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