[TYPO3-core] RFC #17511: tx_install_session::write doesn't fix permissions
Tolleiv Nietsch
info at tolleiv.de
Wed Feb 9 14:37:18 CET 2011
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=17511
Branches:
trunk, 4.5, 4.4
Problem:
tx_install_session::write() just uses fopen/fwrite combo to store
session data but it misses to fix the file read/write permissions
Solution:
The attached patch uses t3lib_div::writeFile() to avoid the problems,
the '/' within the path concatination was removed because the double
slash broke the fixPermissions in some cases.
Making fixPermissions more robust is definately another task which
should follow too.
Reproduce this by removing all typo3temp/session files and trigger the
install tool to (re)create the session-data files.
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17511_4-4.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110209/79a9954f/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17511_4-5.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110209/79a9954f/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17511_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110209/79a9954f/attachment-0001.txt>
More information about the TYPO3-team-core
mailing list