[TYPO3-project-formidable] file - renderlet - chmod- problem

Jerome Schneider typo3dev at ameos.com
Mon Jun 12 14:27:38 CEST 2006


Hello Paul,

I had a look at the file rdt v0.3.0 :
The PHP that moves the uploaded file (and set the perms) is :

if(move_uploaded_file($tmp_name, $target)) {
    return basename($target);
}

This user note on php.net
http://fr2.php.net/manual/fr/function.move-uploaded-file.php#57959 says that
move_uploaded_file() :

    " use(s) the GROUP permissions of the parent directory of the tmp file
location, whereas a simple copy uses the group of the apache process."

So it could be a problem of perms on your /tmp.

Have you tried to set the 755 on the file too ?

If perms don't solve the problem, I could write some patch with your help.
But keep in mind that 0.3.0 had some problem due to the new features it
introduced.


Kind regards,
Jerome Schneider

"Typaul3" <postamt at gmail.com> a écrit dans le message de news:
mailman.1.1150112512.17137.typo3-project-formidable at lists.netfielders.de...
> Hi Jerome,
>
> I noticed a problem with the ameos_formidable_rdt_file - renderlet.
> After saving to it´s directory on the server, The rights (reading/writing) 
> are to low, So - the uploaded file ( e.g.  picture) will NOT be displayed 
> in the frontend. It´s obvious, that this behavior is caused by a 
> combination of different aspects. But probably not depending on the 
> server-konfiguration. It´s Typo3- optimised ..
> I did a chmod to 755 manualy for the directory. But that does not change 
> anything.
>
> I am using Ameos formidable 3.0 ( I can´t switch to 4.0  & 5.0  at the 
> moment, for some reasons..)   - with PHP4
>
> Do you have any ideas, what´s going wrong ?
>
> kind regards,
> Paul
>






More information about the TYPO3-project-formidable mailing list