Re: Question about directory permissions
| From: | Curtis Maurand | Date: | Mon, 21 Mar 2011 18:30:37 +0000 |
| Subject: | Re: Question about directory permissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311981@lists.php.net to get a copy of this message | ||
Al wrote:
> I understand dir perms pretty well; but, have a
question I can't readily
> find
> the answer to.
>
> Under a Linux system, scripts can't write, copy, etc. to other
dirs unless
> the
> perms are set for writable for the
script e.g., nobody.
>
> But, is there a way a script can
write or copy within its own dir?
>
Not unless it has
permission to do so. Most likely, however, it can write to the temp
space such as /tmp or /var/tmp.
--Curtis