Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] creating files with php3 From: Rasmus Lerdorf (rasmus <email protected>)
Date: 03/31/99

> I have possible missed something obvious here, but when my
> script tries to create new files on my ISP's server I get
> errors indicating that the script is not allowed to create
> them.
>
> I can get around this temporarily by changing the the access
> rights of the html -directory (the directory where my
> homepage/scripts are) from rwx--x--x to rwxrwxrwx, but that
> is not something I wish not to have permanently.
>
> Seems the scripts are run as 'nobody' or 'wwwadmin' and I
> own the html -directory. I guess that is the problem. Is
> there a safe way around this?
>
> I have also been wondering about this other thing; when I
> create files with php3, they are owned by 'nobody' or what
> ever the server is configured to. So, can other users'
> scripts have the read(/write?) access to them?

Yes, unless your server runs with safe-mode enabled. See previous posts
on this topic in the archives.

-Rasmus

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>