Re: rsync -a doesnt keep owner and permissions
Markus Rosjat <rosjat <at> ghweb.de>
2014-08-20 05:59:01 GMT
Am 19.08.2014 17:14, schrieb Joseph Borg:
> Wouldn't something like duplicity work better for you in this case?
> Sent from my iPad
well as far as I understand its just another abstraction layer added to
rsync and I don't want to install something that
is basically using something I already have. But thanks for the sugession
>> On 19 Aug 2014, at 16:53, Markus Rosjat <rosjat <at> ghweb.de> wrote:
>> Am 19.08.2014 16:40, schrieb Erling Westenvik:
>>> On Tue, Aug 19, 2014 at 04:27:11PM +0200, Markus Rosjat wrote:
>>>> Is there any other thing I miss with the sudo approach?
>>> Check out --usermap, --groupmap and --chown in the man page. Haven't
>>> tried them myself but AFAIK these options were added to rsync(1) late in
>>> 2013 or early in 2014.
>> this may work on a one file or user directory base but if I want to sync a location like /var/www/htdocs this
>> a bit overkill and no I don't want to write a script for this if I can avoid it.
>>> Vennlig hilsen/Kind regards
>>> Erling Westenvik
>> Markus Rosjat fon: +49 351 8107223 mail: rosjat <at> ghweb.de
>> G+H Webservice GbR Gorzolla, Herrmann
>> Königsbrücker Str. 70, 01099 Dresden