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
Sure. The script runs with the permissions of whoever is running it.
In general, a PHP script that's a web page in linux will run by a user
called something like apache, apache2, www-user, or something similar.
If you give that user permissions -- either directly or through their
group, often of
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
3 matches
Mail list logo