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/2/07 11:12 AM, "Daniel Brown" <parasane@xxxxxxxxx> wrote:
> 
>     Rahul,
> 
>     I believe all of the modern MacOS variants still use the
> *nix-style (due to being based on BSD) rc.d startups, right?  If so:
> 
>     sudo echo "sudo -u www mount_smbfs -f 0777 -d 0777
> //usr:pwd@ip/share node" > /etc/rc.d/init.d/winsharemount
>     sudo chmod 755 /etc/rc.d/init.d/windsharemount
>     sudo ln -s /etc/rc.d/init.d/winsharemount /etc/rc.d/rc3.d/S74winsharemount
>     sudo ln -s /etc/rc.d/init.d/winsharemount /etc/rc.d/rc5.d/S74winsharemount
> 
>     That should help automate it on startup in single-user and
> multi-user mode (rc3 and rc5, respectively).

Daniel,

I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been
manually mounting after each boot, so still looking for an automated
mounting solution. Thought I'd let you know.
Thanks!

-- 
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