This is an old revision of the document!


Setup file & folder-permissions

Setup file & folder-permissions autom. by using a shell script

Docu: –
Forum: Kleines Script zum setzen der Rechte

Autor: arminius → treated: K.Heermann (flip-flop) (07.05.09)
CMS-Version: >= V1.x.x
Version: V1.0 18.05.07

Condition: → shell script must be executable
Options:

  • Setup file & folder-permissions autom. by using a shell script

shell Skript

#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 Phpwcms-Verz.";
else
chmod 777 $1/upload
chmod 777 $1/filearchive
chmod 777 $1/filearchive/can_be_deleted
chmod 777 $1/template
chmod 777 $1/template/template_lang
chmod 777 $1/content
chmod 777 $1/content/images
chmod 777 $1/content/gt
chmod 777 $1/content/form
chmod 777 $1/content/rss
chmod 777 $1/content/tmp
chmod 777 $1/content/pages
 
chmod 666 $1/setup/setup.conf.inc.php
chmod 666 $1/template/inc_css/frontend.css
chmod 666 $1/config/phpwcms/conf.indexpage.inc.php
chmod 666 $1/template/inc_default/startup.php
fi
english/other-enhancements/installation/set-file-folder-permissions.1241802989.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0