Hi all, I'm newbie to rsync, not sure if I use it correctly. I installed rsync v2.6.2 protocol version 28 on 2 of my machines at home. Both running WinXP SP1. On the machine (named machine 1) with NTFS formatted drive, I issued the following commands >rsync -varuz "machine2::My Documents/My Financials/" . The update was success. However the subdirectories and the files inside are being not writtable. I can't add file the any of the subdirectories nor changing (include deleting) any file inside the subdir. On the other hand, when I issue the following from machine1 >rsync -varuz . "machine2::My Documents/My Financials/" The files arrived at machine2 with no problem at all. I can still change all attributes of the transfered files. Machine2 is also a WinXP SP1 with FAT32 formatted partitions. Now, how could I delete or change attribute or the files on machine1 other then having to reformat the drive. Regards, Sanpee
Stuart Halliday
2004-Jul-12 09:57 UTC
[Windows] Unable to delete files transfered by rsync
> Now, how could I delete or change attribute or the files on machine1 > other then having to reformat the drive.You simply need to gain owership of the files. Select the files, pop up the properties. Choose the security tab and see who does have permission to access these files. If its not an administrator then click on the Advanced icon under the listing of the permissions. Then choose Owner and change the owner to someone who is an admin of the computer. Obviously you need to logon to XP as a administrator. You can avoid this problem in the future by ensuring that the rsync server rsync.conf file uses the uid, gid of an adminstrator or a username/groupname of an account that can normally access these files? Does the username you set up to run rsync as a Service also set up to be in the same group that has permission to access these files.