Another work around that just came to mind, is to create an apache user and group on the destination machine, and give them the same UID / GID as the nobody : <whatever> - then rsync might inadvertently "do the right thing". Please test, I am not certain if that'll actually do what it sounds like it should. :)

Yes, this will work. rsync translates uid/gid numbers based on userid/group when moving data between computers. If you create an apache user/group on the destination machine with the same uid/gid as user:nobody than rsync will make things right.


I've used this to move data between servers and maintain proper ownership.

--[Lance]
--
 Celebrate The Circle: http://www.celebratethecircle.org/
 Carolina Spirit Quest:  http://www.carolinaspiritquest.org/
 My LiveJournal: http://www.livejournal.com/users/labrown/
 GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to