chgrp -R apache fileadmin typo3conf typo3temp uploads
chmod -R g+rwX,o-w fileadmin typo3temp typo3conf uploads
su
chown -R root:apache typo3_src
chmod -R 755 typo3_src
chgrp -R www typo3_src
typo3_src/typo3: chmod -R g+w ext
# set all sysfolders 755
find . -type d -exec chmod 755 {} \;
# set all files 644
find . -type f -exec chmod 644 {} \;
chmod 640 ./typo3conf/LocalConfiguration.php;
chmod 640 ./typo3conf/PackageStates.php;
# remove files "index.php~"
find . -type f -name "*~" -exec rm {} \;
# remove all ._* files
find . -name "._*" -exec rm -f {} \;
Last active
December 9, 2016 20:20
-
-
Save pengmaradi/9b9e606b13ca6b81ce81 to your computer and use it in GitHub Desktop.
Do secure chmod.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[BE][fileCreateMask] = 0664
[BE][folderCreateMask] = 2775