<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Peter.<br>
<br>
I'll change the script to use<br>
# -r, --recursive recurse into directories<br>
# -l, --links copy symlinks as symlinks<br>
# -t, --times preserve times<br>
<br>
instead of -a.<br>
<br>
<br>
Because according to man, rysnc -a = archive mode, equivalent to
-rlptgoD <br>
And <br>
-p, --perms preserve permissions<br>
-o, --owner preserve owner (root only)<br>
-g, --group preserve group<br>
-D, --devices preserve devices (root only)<br>
<br>
Are hopefully what's causing the error across the file systems.<br>
<br>
I'll post back if this fixes it when I can next test.<br>
<br>
<pre class="moz-signature" cols="72">Kind Regards Russ
<a class="moz-txt-link-abbreviated" href="http://www.windsorcycles.com.au">www.windsorcycles.com.au</a>
(gedit/ubuntu/gFTP)
</pre>
<br>
<br>
Peter Simpson wrote:
<blockquote cite="mid200504221853.46363.ubuntu@petethetree.co.uk"
type="cite">
<pre wrap="">On Friday 22 Apr 2005 13:49, Russell Cook wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I have a Windows machine share mounted using:
sudo mount -t smbfs -o
user,quiet,credentials=/home/ruscook/.credentials,umask=0 //tigger/boot
/mnt/tigger
When I run rsync with the command:
sudo rsync -Caz --exclude-from /home/ruscook/sync.exclude --include "*"
/home/www/html/bikes/ /mnt/tigger/bikes/
I get the error:
rsync: chown
"/mnt/tigger/bikes/NetRides/1998/ToastyToads-Aug1998/Lookout.jpg"
failed: Operation not permitted (1)
Anyone know what I'm doing wrong?
Thanks
</pre>
</blockquote>
<pre wrap=""><!---->
Hi there.
This is a problem with FAT not supporting Unix permissions.
You will find this with anything that tries to copy a file with permission in
tact.
I hope that there is an option in rsync to say "Don't set permissions).
Cheers,
TreeBoy
</pre>
</blockquote>
</body>
</html>