[ubuntu-uk] rsync chgrp problem - advice, please?

luxxius luxxius at googlemail.com
Thu Jun 7 15:39:52 BST 2007


Robert McWilliam wrote:
<snip>
> Rather than just ignoring the errors you can tell rsync not to try and
> set permissions or group with the --no-p and --no-g options and then if
> there are any errors that actually need worrying about you wont miss
> them assuming the output is the normal errors that don't matter. 
> 
> My own backup command is:
> 	rsync --no-p --no-g -r ~/Music/ /media/Elements/Music/
> 
> One thing I'd suggest for the future is not to use numerical
> permissions when manipulating them...

Robert >>> Thanks for this very sound and very helpful advice.  I shall
definitely make use of the form of backup command you suggest (perhaps
adding the -v option to give me some reassurance that the process is
actually going on - and something to look at as the hours tick by, at
least on the first sync).

     And I now have some real sympathy with your point about not using
octal permissions.  They seem attractively neat;  but so easy to miss an
issue that may tie you up for a whole morning!  ;-)

Many thanks, and best wishes
--
Diana





More information about the ubuntu-uk mailing list