Problems with safe mode

Permalink
I installed Concrete5 ver. 5.7.2.1 at UnoEuro.dk via FTP. But when I'd try to download an Ads-on from my Concrete5, I got the following message: "fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 586 is not allowed to access /var/www/tmp owned by uid 505."
I wonder what am I doing wrong?
Thank you in advance for your help.

Sincerely,
N J Jorgensen

 
robodev replied on at Permalink Reply
I am not sure the exact way to fix it in your case, but I had a similar problem.

Apache is running as the user Daemon while the Concrete5 typically runs as user
Bitnami.

In my case the owner of the /updates folder was BITNAMI while the Apache web service runs, typically, as user called DAEMON. Without correct ownership, typically things won't work.

So in my case, at the Linux command prompt I navigated to the htdocs folder and, whilst logged in as root, typed:

chown daemon updates.

This, of course, changes the owner of the /updates folder to daemon. In your case at the linux prompt you need to find what username those userids belong to: (something like cat/etc/passwd ), then from there you can adjust the appropriate folders as needed.