Bug #14250
closedcan't install extensions with SAFE MODE ON
0%
Description
in a shared hosting, where SAFE MODE is ON (and i can't modify this settings), installing a new extension gives me the following error:
Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 32162 is not allowed to access /home/bwmaster/public_html/grupposaras/typo3conf/ext/css_styled_content owned by uid 99 in /home/bwmaster/public_html/grupposaras/typo3/t3lib/class.t3lib_div.php on line 2033
i know i can hack typo3/mod/tools/em/index.php to make it work (even if i couldn't make it work) using these guidelines: http://typo3.org/1423+M5dd8623ea90.0.html
i hope this issue will be fixed for 3.7!
I have done some testing with mkdir in safe_mode, and the description in the thread mentioned doesn't hold on my system (which runs TYPO3 in safe_mode without problems).
The creation of dirs fails with or without the slash if the owner of the script is not the same as the owner of the weserver process. And works if it is. My guess is that this is due a bad setup of safe_mode where the scripts are not owned by the owner of the process, but I would like to know the following:
Who owns the server process?
Who owns the ext dir?
What are the fileperms on the dir?
(issue imported from #M244)