[nycphp-talk] Writing a file and ownership
Sajith A
sajith.ml at gmail.com
Sat Apr 30 22:35:18 EDT 2005
On 4/30/05, leam at reuel.net <leam at reuel.net> wrote:
>The shared host is Linux with the user private group so the files
have been written as
>"user:user". Until a few days ago they started to be written as
"nobody:nobody", the
>user:group the apache server runs under. The issue is that I can't
edit my own file, which
>is a problem. ;)
If php is not properly configured[open_basedir , safe_mode], leaving
it ownership as nobody might allow other people to access you script
with thier php code.
Did you try executing Filesystem functions from php. so after creating
file you could try changing thier permissions.
http://in2.php.net/manual/en/ref.filesystem.php
http://in2.php.net/manual/en/features.safe-mode.php
God bless
Sajith A
More information about the talk
mailing list