[TYPO3-core] Gremlin #76: t3lib_div::writeFile() changes permissions without need
michael at typo3.org
Thu Nov 24 00:51:17 CET 2005
Fixed in CVS.
Michael Stucki wrote:
> Author reports:
> Playing around with the filelist module, I discovered the following bug:
> If a file has been edited via filelist, the permissions are changed to 775
> after saving (or whatever given in ['TYPO3_CONF_VARS']['BE'
> The editor uses t3lib_div::writeFile(), but this function does not check
> if a file did exist before writing and so does not preserve its
> Check if the file exists, set a flag, and only change the permissions if
> this flag was set.
> - michael
Use a newsreader! Check out
More information about the TYPO3-team-core