owner=52400 name?
James Cooley
jcooley at fit.edu
Sun Mar 20 17:16:33 UTC 2005
If you are running php with safe mode turned on, those files just need
to have either the same owner, or the same group. You probably don't
want to give the apache user ownership of the files, since httpd
usually runs as apache, and giving the apache user ownership of the
files would allow the webserver to write to them. Otherwise, since
apache doesn't own the files, it is bound by the restrictions of the
permissions for 'other' as it should be.
--James Cooley
On Mar 20, 2005, at 10:02 AM, Mike Vanecek wrote:
> On Sun, 20 Mar 2005 08:24:12 -0600, Ed Wilts wrote
>> On Sun, Mar 20, 2005 at 08:12:52AM -0600, Mike Vanecek wrote:
>>> How do I find the name of the owner=52400 and group=24067?
>>>
>>> -rw-r--r-- 1 52400 24067 20K Dec 13 2003
>>> tbl_query_box.php
>>
>> By default, the name would be displayed. If it's not shown, it's
>> because the names aren't in /etc/passwd or /etc/group (or in ldap or
>> nis if you're using those).
>>
>> It can happen that the names used to exist but don't any more, or
>> you're
>> in some sort of chroot'ed environment where you've been given
>> false/empty passwd or group accounts.
>>
>> I've seen this happen if you extract a tar file from another system
>> and the original owner/group information is used to create the file
>> on your system.
>>
>
> This happened from an install of phpMyAdmin from
> phpMyAdmin-2.5.6.tar.gz.
> After a tar xvzf phpMyAdmin-2.5.6.tar.gz the resulting directory and
> files
> have that owner and group even though they do not exist in the system.
> I was
> doing this as root in /usr/src/redhat/RPMS/i386.
>
> drwxr-xr-x 7 52400 24067 4.0K Mar 1 2004
> phpMyAdmin-2.5.6/
> -rwxr--r-- 1 admin admin 1.8M Feb 2 11:34 phpMyAdmin-
> 2.5.6.tar.gz*
>
> How do I find out what the correct owner/group setting should be?
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list