The work-around is to create the directory outside of your web application
from your regular account. Or if you are allowed to run cgi scripts and
these are set up via cgiwrapper or suExec to run as your own user id, use
this to create the directory. Once created with the right owner, you can
Hi, I'm having trouble understanding why I can create and delete
directories with my script via mkdir and rmdir, but not simply being
able to read them with opendir or readdir?
For example, when I attempt to access these directories with opendir, I
get this error message:
Warning: opendir():
Hi, I'm having trouble understanding why I can create and delete
directories with my script via mkdir and rmdir, but not simply being
able to read them with opendir or readdir?
For example, when I attempt to access these directories with opendir, I
get this error message:
Warning: opendir():
On Saturday 28 February 2004 22:47, raisinlove wrote:
Hi, I'm having trouble understanding why I can create and delete
directories with my script via mkdir and rmdir, but not simply being
able to read them with opendir or readdir?
Are you saying that you can create a directory using mkdir()
This is normal. You are allowed to create the directory because the
directory you are creating it in is owned by the same user id that owns
the script calling mkdir(). However, since your web server runs as some
other user the owner of the newly created dir will be that user and not
your own so
Rasmus Lerdorf wrote:
This is normal. You are allowed to create the directory because the
directory you are creating it in is owned by the same user id that owns
the script calling mkdir(). However, since your web server runs as some
other user the owner of the newly created dir will be that
Surely if there is a work-around then safe mode would not be doing its job
properly?
Well this was part of the purpose of my post, before Rasmus explained
it, I didn't understand why I couldnt access a directory I had created.
I was hoping for a function which would achieve the same purpose but
On Sat, 28 Feb 2004, raisinlove wrote:
Surely if there is a work-around then safe mode would not be doing its job
properly?
Well this was part of the purpose of my post, before Rasmus explained
it, I didn't understand why I couldnt access a directory I had created.
I was hoping for a
8 matches
Mail list logo