Difference between revisions of "Talk:Setting File Permissions"
Jump to navigation
Jump to search
(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…') |
(No difference)
|
Latest revision as of 16:27, 21 February 2010
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 {} \;
#