Talk:Setting File Permissions

From PGVWiki
Revision as of 17:27, 21 February 2010 by 2morpheus (talk | contribs) (Created page with 'Sorry about my poor english, maybee the permisions are to strong, for my installation (confixx) it only works with 771 and not 711 664 and not 644 . I use this script (confix…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sorry about my poor english,

maybee the permisions are to strong, for my installation (confixx) it only works with

771 and not 711

664 and not 644 .

I use this script (confixx with user web5)

#!/bin/bash
#
chown -R web5.www-data ./phpgedview
#
chmod -R 664 ./phpgedview
#
find ./phpgedview -type d -exec chmod 771 {} \;
#
chmod 444 ./phpgedview/config.php
#
chmod -R 777 ./phpgedview/index
find ./phpgedview/index -type f -exec chmod 666 {} \;
#
chmod -R 777 ./phpgedview/media
find ./phpgedview/media -type f -exec chmod 666 {} \;
#
chmod -R 777 ./phpgedview/modules
find ./phpgedview/modules -type f -exec chmod 666 {} \;
#