[Typo3-linux] Apache/PHP vs FTP user

Bjarke Meier bm at itu.dk
Wed Nov 30 22:19:51 CET 2005


Hi,

When I try to install an extension from the online repository using the 
EM, I get the error:

*Warning*: mkdir() [function.mkdir 
<http://www.fnks.dk/dummy-3.8.0/typo3/mod/tools/em/function.mkdir>]: 
SAFE MODE Restriction in effect. The script whose uid is 717 is not 
allowed to access 
/home/web/Aktiviteter/fnks/dummy-3.8.0/typo3conf/ext/sr_feuser_register 
owned by uid 99 in 
*/home/web/Aktiviteter/fnks/dummy-3.8.0/typo3/t3lib/class.t3lib_div.php* 
on line *2195*

Background info:
* uid 717 is the FTP user. I only have FTP access to the server (besides 
web of course).
* uid 99 is the Apache/PHP user. 717 and 99 does not belong to the same 
group.

To me it looks like Typo3 creates the folder 'sr_feuser_register' using 
PHP and then uses FTP to transfer the files to the folder. However, I'm 
confused because line 2195 of *class.t3lib_div.php *says:

        if (mkdir($theNewFolder, 
octdec($GLOBALS['TYPO3_CONF_VARS']['BE']['folderCreateMask']))){

which appears to be a PHP mkdir() function call...

---

It's not an option to change the server configuration - with the 
_eventual_ exception being small changes. Is there any solution to my 
problem? Is it possible to decompress (how/what's the format?) the t3x 
files and manually transfer them to the server using FTP and will there 
be any additional requirements to this strategy (manually entering data 
into the db, modifying files etc)?

I have no experience concerning the internals of Typo3, but I'm capable 
of doing some PHP coding.

Best regards,
Bjarke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-linux/attachments/20051130/0b89fc98/attachment.htm 


More information about the TYPO3-linux mailing list