Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 18, 2004, 10:22 pm
rate this thread
I have a problem with my php script.
In this script I create a directory. When I then try to
enter this directory (for example read its contens)
I get an error like:
Warning: SAFE MODE Restriction in effect. The script whose uid is XXX is not
allowed to access
/home/students/... owned by uid YYY in /home/students/...
In manual for chdir its written:
"Note: When safe mode is enabled, PHP checks whether the directory in which you
are about to operate
has the same UID (owner) as the script that is being executed."
So : my script has my UID and created dir has UID of httpd.
What to do in order to be able to read and write to this dir?
Safemode is enabled but I cannot change it.
Re: safe mode
I already found the solution to my problem - but let me know if you know a
better way for this:
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum