30.5.13

Права доступа СMS Joomla на хостинге

 PHP-файлы: 644
 Другие папки: 755 
 
Захватываем права владельца
chown -R www-data:www-data /var/www/joomla
 
Даем права на файлы и папки 
find /var/www/joomla -type f -exec chmod 0644 {} \;
find /var/www/joomla -type d -exec chmod 0755 {} \;

http://docs.joomla.org/Installing_Joomla_on_Debian_Linux 
http://forum.joomla.org/viewtopic.php?f=622&t=716032

Дополнительно



Recursively chmod only directories
find . -type d -exec chmod 755 {} \;
Similarly, recursively set the execute bit on every directory
chmod -R a+X *
The +X flag sets the execute bit on directories only
Recursively chmod only files
find . -type f -exec chmod 644 {} \;
Recursively chmod only PHP files (with extension .php)
find . -type f -name '*.php' -exec chmod 644 {} \;

http://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/

Комментариев нет:

Отправить комментарий