I'm installing a program from scratch, and did a ls -l in the newly installed directory. It lists one of the files as:
-rwxrwxr-x 1 500 500 13666 2005-08-26 10:06 owl.php
I've run into this before, where the user and group are a number.
Am I correct that this is an IUD? Who is user 500? Who is group 500? I checked in /etc/passwd, and there is no user 500 there.
Why do some programs install with the numbers instead of a user or group name?
Maybe this file has been created on a system that has a user with an ID 500.
Or the user that had created the file had been deleted or reassigned another ID.
Depending on your OS, UID 500 (or 100) is the first number allocated to a user. numbers below that are reserved for system.
the two 500's you see are UID and GID and would have been allocated as you set up.
so you get the same Group ID as the USer has.
it tells you that you (the first default user) UserID 500 owns the file and it belongs to your (default) GroupID 500 group.
nice info here. many more if you care to google.
Mandrake/Mandriva defaults to 500 for the first UserID on the system. Most others start at 1000.