[H-GEN] file ownership problem

Anthony Irwin anthonyi at toolboxsoftware.com.au
Wed Aug 27 02:23:23 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Paul Clarke wrote:
> Warning: SAFE MODE Restriction in effect. The script whose uid is 518
> is not allowed to access /usr/share/sd/_sdprectrl.php owned by uid 0
> in Unknown on line 0
>
> What is the solution? (in simple terms as I am very new to this)

Hi,

By default when php is set to safe mode it will only open files if they have
the same UID you can change safe_mode_gid to on to allow php to open files
with the same GID. You could also set safe_mode to off and then it won't do
any checking and run the files.

UID stands for user id and GID stands for group id.

You change the safe_mode or safe_mode_gid settings in the php.ini file which
is normally located somewhere in /etc


Kind Regards,
Anthony Irwin




--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list