[TYPO3-dev] t3lib_div::fixPermissions lacks support for directories
Stefan Geith
typo3dev2010.nospam1 at geithware.de
Mon Mar 8 16:57:15 CET 2010
Ernesto Baschny [cron IT] schrieb:
> Stefan Geith schrieb am 08.03.2010 16:46:
>
>> t3lib_div::fixPermissions($file) only supports Permissons for _files_.
>>
>> Shouldn't it also support fixing permissions for directories ?
>> For a project I had to create subdirectories of typo3temp and so a found
>> out, that this is not supported.
>>[...]
>
> I think this is usually not needed, because if you need a new directory,
> you create it with t3lib_div::mkdir, which respects folderCreateMask and
> createGroup.
In my usecase, I unzip an uploaded ZIP-File.
Then I recursively set all included subfolders and files to the right
permissions.
I cannot use t3lib_div::mkdir there ...
/Stefan
More information about the TYPO3-dev
mailing list