[CentOS-mirror] can you create problems with uid/gid?

Mon Oct 1 15:49:05 UTC 2007
Jon Lewis <jlewis at lewis.org>

On Mon, 1 Oct 2007, William Dunn wrote:

>
> I noticed that /CentOS/5/os was giving me a 403 forbidden error, but 
> /CentOS/5.0/os/ wasn't.  I tracked the problem; the files in /5/ are symlinks 
> to the files in /5.0/, but they were owned by uid 503 and the targets in 
> /5.0/ were owned by uid 500.  My server is set SymLinksIfOwnerMatch, and if 
> possible, I'd like to keep it that way. Will I introduce any problems for my 
> consumers by changing all file ownership to 500?

Short answer: No.

Long answer: WTH are you doing that your rsync'd files are showing up 
under different UIDs?  You're running rsync as root?  You really don't 
need to / shouldn't do that.  All the mirrored files on my FTP mirror 
server are owned by the mirror user (uid/gid 501/501), as this is the user 
that does all the rsyncing.

----------------------------------------------------------------------
  Jon Lewis                   |  I route
  Senior Network Engineer     |  therefore you are
  Atlantic Net                |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________