rsync is skipping some files, permission problem
Walter White
homerun4711 at googlemail.com
Sun Jan 1 13:27:28 MST 2012
Hello Kevin,
you are right. As far as I found out by now, the problem
is not related to rsync at all, but to the way that the remote drive is
mounted to my filesystem. If I access the remote system by logging
on via ssh everything all files are there as expected.
Looks like a permission problem somewhere...
Kind regards,
Walter
Am 01.01.2012 02:03, schrieb Kevin Korb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> If rsync was unable to read or write a file it should have complained
> about it. Make sure you are watching for errors. If it isn't
> complaining then I would suspect that one of your excludes which you
> didn't list is the problem.
>
> On 12/31/11 19:10, Walter White wrote:
>> Hello!
>>
>> Happy New Year!
>>
>> I came across a small problem a few minutes ago while I was
>> comparing a sync'ed folder to its source, the home-directory of my
>> user, "administrator".
>>
>> I noticed that not all files had been copied and I recognized that
>> the missing files/folders have permission rwx------ or drwx------
>> and are owned by administrator.
>>
>> My rsync script being run using sudo and I am wondering why sudo is
>> not having access to the files.
>>
>> The parameters are "-avz --modify-window=3 --stats --progress
>> --delete --delete-excluded"
>>
>> Can someone explain to me if this behavior is normal and expected?
>> And what would be the best solution to this? Are there any
>> parameters you would suggest or do I have to use for instance a
>> "chmod 755" before running rsync?
>>
>> Kind regards, Walter
>>
>>
>>
>
> - --
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> Kevin Korb Phone: (407) 252-6853
> Systems Administrator Internet:
> FutureQuest, Inc. Kevin at FutureQuest.net (work)
> Orlando, Florida kmk at sanitarium.net (personal)
> Web page: http://www.sanitarium.net/
> PGP public key available on web site.
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk7/sO4ACgkQVKC1jlbQAQczZACgxfSSAnLtMO+eJh7hlbMfOBEL
> V54AoI9CgymYjurq4ekpo4uCYBOzB5XB
> =riDQ
> -----END PGP SIGNATURE-----
More information about the rsync
mailing list