rsync from ubuntu to samba share does not work with -a option
Hi all,
I am trying to rsync some documents on to a samba share on a mybook world edition device. My source machine is a laptop running Ubuntu 9.04. However I keep getting various errors and try as I might I have not been able to get this to work.
I mounted the mybook share on my Ubuntu laptop using the following command -
sudo mount -t cifs 192.168.1.110:TEST test -o username=myusername,uid=1000,gid=1000
the mybook share on samba is defined as -
[TEST]
path=/shares/internal/TEST
read only = no
guest ok = no
valid users=myusername
write list=myusername
the rsync command I am using is -
rsync -avz ~/junk test/
where junk is a folder on my laptop that I would like to backup. I get the following message when I run the above command -
junk/
rsync: failed to set times on "/home/me/test/junk": Invalid argument (22)
junk/bar
junk/foo
rsync: mkstemp "/home/me/test/junk/.bar.iuj8as" failed: Permission denied (13)
rsync: mkstemp "/home/me/test/junk/.foo.PTOh4m" failed: Permission denied (13)
sent 75633 bytes received 54 bytes 151374.00 bytes/sec
total size is 439153 speedup is 5.80
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1058) [sender=3.0.5]
The biggest frustration is that I can mount these shares in an XP box and run synctoy and it works fine, but my linux boxes don't play well. I can copy but I can not rsync (with -a)
I don't know if it helps but uname -a on the mybook gives this -
Linux MyBook1 2.6.17.14 #1 PREEMPT Fri Jan 18 10:40:25 GMT 2008 armv5tejl GNU/Linux
Any help to resolve this would be greatly appreciated.
|