CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #29369

Wrong permissions on directories created by extension builder

Added by Loek Hilgersom over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2011-08-30
Priority:Should have Due date:
Assignee:Nico de Haen % Done:

0%

Category:Scaffolding
Target version:-
Votes: 0

Description

When extension builder creates directories inside an extension it does not obey the setting in $TYPO3_CONF_VARS['BE']['folderCreateMask'], resulting in files and directories that on many systems cannot be edited by any other user than the webserver-user.

(Creation of files does follow [BE][fileCreateMask] though).


Related issues

related to Core - Bug #32261: mkdir_deep does not set correct permissions nor create group Resolved 2011-12-02

History

Updated by Nico de Haen over 1 year ago

  • Status changed from New to Accepted
  • Assignee set to Nico de Haen

Updated by Nico de Haen over 1 year ago

  • Status changed from Accepted to Needs Feedback

Hi Loek,

I couldn't reproduce this on my local machine. Can you please post the $TYPO3_CONF_VARS['BE']['folderCreateMask'] that didn't work?
All folder creation is done by t3lib_div functions and so the $TYPO3_CONF_VARS['BE']['folderCreateMask'] should be reflected...

regards,
Nico

Updated by Mike Franke over 1 year ago

Hi Nico,

same problem here.
[BE][folderCreateMask] = 0775
File permissions are fine.

Typo3 v4.6.0
Extension Builder v2.0.5

regards,
Mike

Updated by Mike Franke over 1 year ago

I tried to debug a bit.
It could be a core bug.
t3lib_div::mkdir_deep never calls t3lib_div::fixPermissions.

regards,
Mike

Updated by Loek Hilgersom over 1 year ago

Hi Nico and Mike,

It's indeed a core bug and the problem also shows up in other cases, I made a patch for it and will post that a.s.a.p.
Mike, thanks for the hint.

Loek

Updated by Nico de Haen about 1 year ago

  • Status changed from Needs Feedback to Closed

Also available in: Atom PDF