Rsync and SMB shares

Peter Simpson ubuntu at petethetree.co.uk
Fri Apr 22 17:53:46 UTC 2005


On Friday 22 Apr 2005 13:49, Russell Cook wrote:
> 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

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




More information about the ubuntu-users mailing list