Instalação do Drupal permissão estranha.

0

Estou tentando instalar o drupal 7 em minha máquina Linux (Fedora 17). Eu dei a chmod -R 755 permissão para o diretório /var/www/html/drupal , adicionalmente go+w para o mesmo diretório, recursivamente. Mas quando tentei instalar o drupal 7, diz

File system 
The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.

Mas eu tenho o diretório /sites/default/files , que criei manualmente. ls -l para os diretórios são:

[root@localhost drupal]# ls -l
total 240
-rw-rw-rw-.  1 root root  6553 Mar 31 06:43 authorize.php
-rw-rw-rw-.  1 root root 75229 Mar 31 06:43 CHANGELOG.txt
-rw-rw-rw-.  1 root root  1481 Mar 31 06:43 COPYRIGHT.txt
-rw-rw-rw-.  1 root root   720 Mar 31 06:43 cron.php
drwxrwxrwx.  4 root root  4096 Mar 31 06:43 includes
-rw-rw-rw-.  1 root root   529 Mar 31 06:43 index.php
-rw-rw-rw-.  1 root root  1451 Mar 31 06:43 INSTALL.mysql.txt
-rw-rw-rw-.  1 root root  1874 Mar 31 06:43 INSTALL.pgsql.txt
-rw-rw-rw-.  1 root root   688 Mar 31 06:43 install.php
-rw-rw-rw-.  1 root root  1298 Mar 31 06:43 INSTALL.sqlite.txt
-rw-rw-rw-.  1 root root 17861 Mar 31 06:43 INSTALL.txt
-rw-rw-rw-.  1 root root 18092 Mar 31 06:43 LICENSE.txt
-rw-rw-rw-.  1 root root  8191 Mar 31 06:43 MAINTAINERS.txt
drwxrwxrwx.  4 root root  4096 Mar 31 06:43 misc
drwxrwxrwx. 42 root root  4096 Mar 31 06:43 modules
drwxrwxrwx.  5 root root  4096 Mar 31 06:43 profiles
-rw-rw-rw-.  1 root root  5376 Mar 31 06:43 README.txt
-rw-rw-rw-.  1 root root  1561 Mar 31 06:43 robots.txt
drwxrwxrwx.  2 root root  4096 Mar 31 06:43 scripts
drwxrw-rw-.  4 root root  4096 Mar 31 06:43 sites
drwxrwxrwx.  7 root root  4096 Mar 31 06:43 themes
-rw-rw-rw-.  1 root root 19416 Mar 31 06:43 update.php
-rw-rw-rw-.  1 root root  9642 Mar 31 06:43 UPGRADE.txt
-rw-rw-rw-.  1 root root  2051 Mar 31 06:43 web.config
-rw-rw-rw-.  1 root root   417 Mar 31 06:43 xmlrpc.php

e ls -l para sites/default/files é

[root@localhost default]# pwd
/var/www/html/drupal/sites/default
[root@localhost default]# ls -l
total 28
-rwxrw-rw-. 1 root root 23197 Mar 31 06:43 default.settings.php
drwxrwxrwx. 2 root root  4096 Mar 31 06:48 files
    
por Nitish 31.03.2013 / 03:30

1 resposta

0

O Fedora usa o SELinux para Controle de Acesso, talvez você deva usar setsebool & chcon comandos para alterar o contexto do diretório para o SELinux como mencionado aqui:

link

    
por 31.03.2013 / 14:54