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

Mon Oct 1 16:14:54 UTC 2007
William Dunn <wdunn at cs.vt.edu>


Jon Lewis wrote:
> 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.
> 

*sheepish* I inherited the mirror server from someone who left a couple 
of years before I started.  I just adapted his scripts.  I'll 
uh....overhaul this asap.






> ----------------------------------------------------------------------
>  Jon Lewis                   |  I route
>  Senior Network Engineer     |  therefore you are
>  Atlantic Net                |
> _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________
> _______________________________________________
> CentOS-mirror mailing list
> CentOS-mirror at centos.org
> http://lists.centos.org/mailman/listinfo/centos-mirror

-- 
William Dunn
Unix / Linux Administrator
Virginia Tech Computer Science Department
wdunn at cs.vt.edu / 540-231-3167