Re: PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/1/07 12:43 PM, "Daniel Brown" <parasane@xxxxxxxxx> wrote:

> On 11/1/07, Rahul Sitaram Johari <sleepwalker@xxxxxxxxxxxxxxxx> wrote:
> 
>> Is there a Terminal way of figuring out the UID/GID of something like admin,
>> apache etcetera?
>> 
>> PS: I know it's going OT!
>> 
>> 
>> 
> 
>     Yes, you'll find those UIDs in /etc/passwd.  For example:
>         apache:x:48:48:Apache:/var/www:/sbin/nologin
> 
>     That means my Apache server runs with UID 48 and GID 48, with
> /var/www as the home directory and /sbin/nologin as the shell.

Well, chown is not able to change the User/Group for the mounted files at
all. It simply doesn't change anything at all. I guess the only way to
define a User/Group for a share being mounted is "while" mounting the share,
which was a piece of cake in earlier mac's with mount_smbfs -u UID -g GID
... Of course this was eliminated in Leopard - now I don't know what to do !

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux