[UNsolved]Using RSync with SMB issue
I finally managed to rsync files to my Iomega NAS, but I still have some errors despite the files being actually transferred :rolleyes:
I added this line in my fstab:
//10.11.12.250/antoine /home/antoine/AMount/MyNAS cifs credentials=/etc/PwdDir/smbpasswd_MyNAS,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=antoine rw 0 0
with uid=antoine being my local username.
Then I launch rsync with:
rsync -av /home/antoine/_Sandbox_/MS/ /home/antoine/AMount/MyNAS/BackUp/
The files are transferred correctly but I got these annoying errors:
antoine@Skystreak:/etc$ rsync -av /home/antoine/_Sandbox_/MS/ /home/antoine/AMount/MyNAS/BackUp/
sending incremental file list
rsync: chgrp "/home/antoine/AMount/MyNAS/BackUp/." failed: Permission denied (13)
rsync: chgrp "/home/antoine/AMount/MyNAS/BackUp/.features_coord_USDA257.txt.XzSwFn" failed: Permission denied (13)
rsync: chgrp "/home/antoine/AMount/MyNAS/BackUp/.gms.log.CD0GqC" failed: Permission denied (13)
rsync: chgrp "/home/antoine/AMount/MyNAS/BackUp/.maker_bopts.ctl.ef9YdR" failed: Permission denied (13)
sent 576383 bytes received 72 bytes 384303.33 bytes/sec
total size is 576059 speedup is 1.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]
Any help will be appreciated .
I am reading this as the files were allready on your back up medium.
You could try
Thanks, but the files were not on the NAS before.
Actually, I wonder if that's not a kind of user conflict between these 2 users:
antoine @ NAS
antoine @ local
The files I copied to the NAS are write-protected and belong to user with uid 1005 (??), while the uid of antoine@local is uid 1000.... Getting really confused as I have no idea who is uid=1005, didnt find anything in /etc/passwd
The UID # would indicate it is an actual user and not a system account.... strange :scratch:
I assume nobody else has acces to the NAS, correct ?
You could write a little script to monitor.
Thanks jv for your suggestion.
There are other users on the NAS.
I checked and 1005 is actually my UID on the NAS (antoine@NAS).
I found a similar issue on a website, suggesting to add noperm to the fstab line but doesn't work better...
Any idea anyone ?
|All times are GMT -5. The time now is 04:31 PM.|