[TYPO3-core] RFC: Fix default values of fileCreateMask/folderCreateMask
Michael Stucki
michael at typo3.org
Fri Jan 27 11:12:17 CET 2006
This is a CVS patch request.
Problem:
Files and directories are by default group writable.
Solution:
Remove the write attribut and make files 644 and folders 755 by default.
Comment:
This was discussed on the dev list several times. Some people did not agree
with it, but I think I could convince them all ;-)
My main reasons for changing it are that a) Unix creates new files the same
way, and b) Installations should be secure by default, not open.
After all I don't know if this causes a lot of trouble because usually the
group owner is the same as the user who owns the files unless "createGroup"
is set manually. In that case, it should be clear that the createMask needs
to be changed.
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filecreatemask.diff
Type: text/x-diff
Size: 2270 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060127/1d54f0ec/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060127/1d54f0ec/attachment.pgp
More information about the TYPO3-team-core
mailing list