NAVIGATION
This is an old revision of the document!
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:
#!/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