unusual rsync behaviour

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So it’s probably not permissions, but testing w/wwwrun would be nice (so
would adding ‘a’ to the list of ls flags which I should have remembered
before… sorry). wwwrun probably doesn’t have a password, but you can
become that user if you have root privileges and start out as root (you do
it appears based on your prompt):

su - wwwrun

Good luck.

badger fruit wrote:
> ab@novell.com;2095820 Wrote:
>> Could you post a recursive listing of the directory structure on the
>> source side?
>>
>> ls -lR /path/to/source/Documents
>>
>
>
>
> Code:
> --------------------
>
> bgrsvr-y:/ # ls -lR /home/badger_fruit/lan/music/1200\ Mics\ -\ The\ Time\ Machine/
> /home/badger_fruit/lan/music/1200 Mics - The Time Machine/:
> total 102860
> -rwxr–r-- 1 badger_fruit users 13494495 Jan 8 2009 1200 Mics - 1001 Arabian Nights.mp3
> -rwxr–r-- 1 badger_fruit users 11319519 Jan 8 2009 1200 Mics - Egypt (Land Of The Pharaohs).mp3
> -rwxr–r-- 1 badger_fruit users 13600392 Jan 8 2009 1200 Mics - Garden Of Eden.mp3
> -rwxr–r-- 1 badger_fruit users 9786690 Jan 8 2009 1200 Mics - Glories Of Greece.mp3
> -rwxr–r-- 1 badger_fruit users 12284433 Jan 8 2009 1200 Mics - Rock Into The Future.mp3
> -rwxr–r-- 1 badger_fruit users 10404965 Jan 8 2009 1200 Mics - Shiva’s India.mp3
> -rwxr–r-- 1 badger_fruit users 12864513 Jan 8 2009 1200 Mics - Stoned Henge.mp3
> -rwxr–r-- 1 badger_fruit users 10825176 Jan 8 2009 1200 Mics - The Creation.mp3
> -rwxr–r-- 1 badger_fruit users 10538340 Jan 8 2009 1200 Mics - The Mayans, Incas & Aztecs.mp3
> -rw-r–r-- 1 badger_fruit users 31088 Dec 16 2008 209.jpg
> bgrsvr-y:/ #
>
>
> --------------------
>
>
>
> ab@novell.com;2095820 Wrote:
>> Also have you restarted Apache
>> since you made wwwrun a member of the required group?
>>
>
> No, I have done this now though - well spotted, it never crossed my
> mind to do this as I figured each EXEC would spawn a new wwwrun user to
> do the commands … ok done this and re-tried, still not doing the
> contents of sub-dirs … just out of interest, I instructed the machine
> to grab one of the files from within the sub-directory and that copied
> over OK :
>
> ab@novell.com;2095820 Wrote:
>> Finally when you ran rsync manually did you do so as the wwwrun user?
>>
>
> No, login as wwwrun asks for a password which I don’t know … I don’t
> wish to go changing it using passwd in case it has any adverse effects
> on the webserver.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLO6HfAAoJEF+XTK08PnB5vGQP/3tzxrOUC/E0dR3HoRhGS+rp
IFGaZL/bsMczH/4qyLSu9xOXefEA4T02sD47cGGKVzUbq1pthzn2Fh4hEwgbRH1e
1rUJkI59SBVEMV7n7c1JPxCq7Gj4AcgrRN+eo1RiPS80COd8xIYv+CSk5J5tDKtS
G9tDqXzi4pNoX+Xb7V+Mk48djyhKuicGgmGvggihuzAC0btmK45vmjq9+vMHGvXE
1OtNZavhYCbeuEG/nL0/rM5OnnMAxesDhSf0NsMpTgyVJVb+y8ba3zRS6qsLt164
PnzPURjnp3lmIXECcVL3E98EY5VxxFZBvZHII2DLhoshkY+shsIgjkwf+vl2FAzi
ENkGnhk9lGP4rEw+x3G46skxkgvAk/brTQ/hn8wbhBnSGIs01rY5Bn/Enx03Um8r
kHXGoVbAtml9UP7dmXBTfRicBmGNzGvvqE1yoNUEYcbsnCIDr8F7H9RdoQJqlnub
5x7egjduQMNYDHyIcrKwY3wk/iJ/RXy7XaigDY16SH1BRIQpDC3/kMLnqSrtdcll
6RDxSpDEV1PFMIMijYvcj/bjofP12VdYsQRfyrMIEWD08g+09S34CikHMdCnXR4Q
Jjr7iQr8MJBCr2NTK+czYrqL0SW/0DdoATth9cNzuZbtXeT2TqrTrDOi1fIeAj7e
t5ZbRESRj6vadArqmn2V
=aidP
-----END PGP SIGNATURE-----