[TYPO3-linux] mkdir (...) Permission denied

Michael Stucki michael at typo3.org
Thu May 10 13:06:42 CEST 2007


Hi Franz,

> Hello Michael,
> 
>> Of course:
>> $TYPO3_CONF_VARS['BE']['fileCreateMask'] = '0666';
>> $TYPO3_CONF_VARS['BE']['folderCreateMask'] = '0777';
>> 
>> But irregarding of this, setting files globally writable is always a bad
>> choice.
> 
> Thanks to this solution for files created by TYPO3. But there will still
> be a problem if the user uses FTP to transfer his files to the server
> and safe_mode has been turned on.

Some FTP clients provide similar options. But of course, non of these
solutions is satisfying enough. The main problem is that the webserver runs
with a different user as the FTP user. All you can do in this case is to
tinker.

> In this case IMHO a cron job must be started to change the user or group
> back to the apache's user/group.

Probably we have different views on how a webserver needs to be
administrated.

> This is especially necessary if someone uses the DAM extension. Because
> DAM replaces the normal File module and the text files under the
> fileadmin folder cannot be edited any more. Therefore the user must use
> the SSH/SFTP/FTP and his operating system's editor instead.

Or simply use DAM 1.1.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-linux mailing list