AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / server / Perguntas / 735819
Accepted
Steffen
Steffen
Asked: 2015-11-13 04:29:11 +0800 CST2015-11-13 04:29:11 +0800 CST 2015-11-13 04:29:11 +0800 CST

Joomla: Por que minha pasta tmp é "não gravável"?

  • 772

Temos aqui um novo sistema CentOS7 instalado e configurado com uma nova instalação do Joomla. Estou me perguntando se todos os arquivos do Joomla são "não graváveis":

Se abrirmos no Joomla "Sistema" - "Informações do sistema" - "Permissões de pasta", todas as pastas serão listadas como "Não graváveis"

A pasta no disco é de propriedade do usuário "apache" e é gravável para o usuário:

[root@localhost joomla]# ls -la
insgesamt 88
drwxr-xr-x. 18 apache apache  4096 12. Nov 12:50 .
drwxr-xr-x.  3 apache root      19 11. Nov 18:03 ..
drwxr-x--x. 10 apache apache  4096 21. Okt 23:48 administrator
drwxr-x--x.  2 apache apache    42 21. Okt 23:48 bin
drwxr-x--x.  2 apache apache    23 21. Okt 23:48 cache
drwxr-x--x.  2 apache apache  4096 21. Okt 23:48 cli
drwxr-x--x. 16 apache apache  4096 21. Okt 23:48 components
-rw-------.  1 apache root    1902 12. Nov 12:50 configuration.php
-rwxr-x--x.  1 apache apache  2915 21. Okt 23:48 htaccess.txt
drwxr-x--x.  5 apache apache  4096 21. Okt 23:48 images
drwxr-x--x.  2 apache apache    61 21. Okt 23:48 includes
-rwxr-x--x.  1 apache apache  1212 21. Okt 23:48 index.php
-rwxr-x--x.  1 apache apache  1872 22. Okt 15:55 joomla.xml
drwxr-x--x.  4 apache apache    51 21. Okt 23:48 language
drwxr-x--x.  5 apache apache    66 21. Okt 23:48 layouts
drwxr-x--x. 11 apache apache  4096 21. Okt 23:48 libraries
-rwxr-x--x.  1 apache apache 18092 21. Okt 23:48 LICENSE.txt
drwxr-x--x.  2 apache apache    23 21. Okt 23:48 logs
drwxr-x--x. 18 apache apache  4096 21. Okt 23:48 media
drwxr-x--x. 27 apache apache  4096 21. Okt 23:48 modules
drwxr-x--x. 14 apache apache  4096 21. Okt 23:48 plugins
-rwxr-x--x.  1 apache apache  4213 21. Okt 23:48 README.txt
-rwxr-x--x.  1 apache apache   842 21. Okt 23:48 robots.txt.dist
drwxr-x--x.  5 apache apache    64 21. Okt 23:48 templates
drwxrwxrwx.  2 apache apache    23 21. Okt 23:48 tmp
-rwxr-x--x.  1 apache apache  1690 21. Okt 23:48 web.config.txt

Além disso, o httpd está sendo executado com o usuário apache:

[root@localhost joomla]# ps aux | grep httpd
root      8642  0.0  1.2 396684 13032 ?        Ss   13:16   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8644  0.0  0.7 396684  7316 ?        S    13:16   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8645  0.0  0.7 396684  7784 ?        S    13:16   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8646  0.0  1.3 502324 13332 ?        S    13:16   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8647  0.0  0.7 396684  7784 ?        S    13:16   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8648  0.0  1.3 502324 13332 ?        S    13:16   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8650  0.0  1.3 502324 13332 ?        S    13:17   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8651  0.0  0.6 396684  6588 ?        S    13:17   0:00 /usr/sbin/httpd -DFOREGROUND
apache    8652  0.0  0.7 396684  7784 ?        S    13:17   0:00 /usr/sbin/httpd -DFOREGROUND
root      8660  0.0  0.0 112660   924 pts/0    R+   13:27   0:00 grep --color=auto httpd

Por que a pasta não é gravável?!?

httpd
  • 1 1 respostas
  • 856 Views

1 respostas

  • Voted
  1. Best Answer
    Steffen
    2015-11-13T05:00:54+08:002015-11-13T05:00:54+08:00

    Obrigado, mas descobri o problema. Depois de instalar o CentOS, desativei o SELinux sem fazer uma reinicialização. Depois de reiniciar a máquina, a(s) pasta(s) são graváveis ​​:-)

    Claro: como alternativa, também posso adicionar uma regra do SELinux para permitir o acesso de gravação aos diretórios específicos ...

    • 0

relate perguntas

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Você pode passar usuário/passar para autenticação básica HTTP em parâmetros de URL?

    • 5 respostas
  • Marko Smith

    Ping uma porta específica

    • 18 respostas
  • Marko Smith

    Verifique se a porta está aberta ou fechada em um servidor Linux?

    • 7 respostas
  • Marko Smith

    Como automatizar o login SSH com senha?

    • 10 respostas
  • Marko Smith

    Como posso dizer ao Git para Windows onde encontrar minha chave RSA privada?

    • 30 respostas
  • Marko Smith

    Qual é o nome de usuário/senha de superusuário padrão para postgres após uma nova instalação?

    • 5 respostas
  • Marko Smith

    Qual porta o SFTP usa?

    • 6 respostas
  • Marko Smith

    Linha de comando para listar usuários em um grupo do Windows Active Directory?

    • 9 respostas
  • Marko Smith

    O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL?

    • 3 respostas
  • Marko Smith

    Como determinar se uma variável bash está vazia?

    • 15 respostas
  • Martin Hope
    Davie Ping uma porta específica 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    kernel O scp pode copiar diretórios recursivamente? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh retorna "Proprietário incorreto ou permissões em ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil Como automatizar o login SSH com senha? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin Como lidar com um servidor comprometido? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner Como posso classificar a saída du -h por tamanho 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent Como determinar se uma variável bash está vazia? 2009-05-13 09:54:48 +0800 CST

Hot tag

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve