Menu

#3 Restricted Access to DIRs

open
nobody
None
5
2003-03-27
2003-03-27
Anonymous
No

Hi there!

After installing UEBIMIAU on my site (webhost), I
cannot login, because of the following error:

----------
Warning: file_exists() [function.file-exists]: SAFE MODE
Restriction in effect. The script whose uid is 1234(*1) is
not allowed to access /xyz
(*3)/_mail/tmp/_cached_templates owned by uid 12(*2)
in /xyz(*3)/_mail/smarty/Smarty.class.php on line 1412
----------
(*1) & (*2) changed UIDs
(*3) changed path

I created a DIR named "tmp" as SUBDIR of "_mail"
which is the UEBIMIAU-DIR.
The access rights are set to 777, just to ensure there
isn't a problem with accessing the files or DIRs.

When starting UEBIMIAU, first of all, a SUBDIR of "tmp"
is created, named: "_cached_templates"
Unfortunately this DIR is not created by the USER, who
executes the PHP-Scripts (UID 1234), but by some
other USER (UID 30), I think this is the Standard-HTTP-
USER preset by my webhoster.

I can imagine that this problem could be solved by
adding a "Database-User"-Setting to the script, to
specify a User w/ Password, who/which could be used
when creating DIRs and/or modifying.

Could you please tell me, if this is possible?

Thanks!

RS
richy77@arcor.de

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.