Template:Set file permissions: Difference between revisions From Online Manual

Jump to: navigation, search
m (Reverted edits by Darkness'black (talk) to last revision by Illori)
Line 1: Line 1:
==Definir Arquivo/Permissões das Pastas==
==Set File/Folder Permissions==
Depois que o arquivo de {{lc:{{{1|instalação}}}}} for upado e extraído, você precisa configurar as permissões dos arquivos . Isto é normalmente feito pelo uso do utilitário Unix <b>CHMOD</b>. O valor CHMOD correto para as pastas do SMF é 777, 775 ou 755, e normalmente para arquivos 666 ou 644, dependendo do seu serviço de hospedagem. Existem dois métodos para este passo, o método utilizado depende do serviço de hospedagem que você usa. <br />
After the {{lc:{{{1|install}}}}} archive has been uploaded and extracted, you need to set the files' permissions. This is commonly done by use of the Unix utility <b>CHMOD</b>. The correct CHMOD value for SMF folders is either 777, 775 or 755, and 666 or 644 usually for files, depending on your hosting service. There are two methods for this step, the method used depends on the hosting service that you use. <br />


===Definindo permissões de arquivos com o {{#switch: {{lc:{{{1|install}}}}}|install=Instalação|upgrade=Upgrad}}===
===Setting File Permissions With the {{#switch: {{lc:{{{1|install}}}}}|install=Install|upgrade=Upgrad}}er===
A {{#switch: {{lc:{{{1|install}}}}}|install=instalação|upgrade=upgrad}} SMF pode definir permissões de arquivo simples e fácil. Navegar até o diretório onde está localizado SMF deve redirecioná-lo para o arquivo {{lc:{{{1|install}}}}}.php e pedir a {{#switch: {{lc:{{{1|instalação}}}}}|install=instalação|upgrade=upgrad}}. Por Exemplo: www.yourdomain.com/forum/{{lc:{{{1|install}}}}}.php. Se a {{#switch: {{lc:{{{1|install}}}}}|install=instalação|upgrade=upgrad}} detectar arquivos que precisam de suas permissões ajustadas ele irá pedir detalhes FTP para que ele possa definir o <b>CHMOD</b> dos arquivos que ele necessita para a {{lc:{{{1|instalação}}}}}. Isso pode não funcionar em alguns servidores.
The SMF {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er can set file permissions simply and easily. Navigating to the directory where SMF is located should redirect you to the {{lc:{{{1|install}}}}}.php file and prompt the {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er. For example: www.yourdomain.com/forum/{{lc:{{{1|install}}}}}.php. If the {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er detects files that need their permissions adjusted it will prompt for FTP details so it can <b>CHMOD</b> the files it requires for the {{lc:{{{1|install}}}}}. This may not work on some servers.


===Definindo permissões de arquivos com FTP===
===Setting File Permissions With FTP===
Usando um painel de controle ou cliente FTP, as permissões de arquivo pode ser alterado rapidamente e facilmente. Geralmente, Programas de FTP irá permitir que as permissões sejam alteradas com botão direito do mouse em arquivos/pastas e selecionando "Propriedades", "Atributos" ou "Permissões".O valor numérico desejado pode ser inserido, ou se existir, caixas de verificação pode ser alterado.
Using a control panel or FTP client, file permissions can be changed quickly and easily. Usually, FTP programs will allow permissions to be changed by right-clicking files/directories and selecting "Properties", "Attributes" or "Permissions". The desired numerical value can be entered, or if provided, check boxes can be changed.


Os seguintes arquivos e diretórios devem ser escritos. Dependendo de como o servidor está configurado, isso significa que eles devem ter <b>CHMOD</b> valores de 644, 664 ou 666 para arquivos, e 755, 775 ou 777 para pastas:
The following files and directories must be writable. Depending on how your server is set up, this could mean that they must have <b>CHMOD</b> values of 644, 664 or 666 for files, and 755, 775 or 777 for folders:
*/attachments
*/attachments
*/avatars
*/avatars
Line 21: Line 21:
*{{lc:{{{1|install}}}}}.php
*{{lc:{{{1|install}}}}}.php


Se a permissão de seus arquivos ou pastas não torná-los gravável, o instalador SMF irá relatar o problema. Nesse caso, use o seu cliente FTP ou painel de hospedagem para redefinir as permissões para os arquivos ou pastas, os relatórios de instalação.
If the permission on your files or folders does not make them writable, the SMF installer will report the problem. In that case, use your FTP client or host panel to reset the permissions for the files or folders the installer reports.

Revision as of 09:20, 29 May 2012

Set File/Folder Permissions

After the install archive has been uploaded and extracted, you need to set the files' permissions. This is commonly done by use of the Unix utility CHMOD. The correct CHMOD value for SMF folders is either 777, 775 or 755, and 666 or 644 usually for files, depending on your hosting service. There are two methods for this step, the method used depends on the hosting service that you use.

Setting File Permissions With the Installer

The SMF installer can set file permissions simply and easily. Navigating to the directory where SMF is located should redirect you to the install.php file and prompt the installer. For example: www.yourdomain.com/forum/install.php. If the installer detects files that need their permissions adjusted it will prompt for FTP details so it can CHMOD the files it requires for the install. This may not work on some servers.

Setting File Permissions With FTP

Using a control panel or FTP client, file permissions can be changed quickly and easily. Usually, FTP programs will allow permissions to be changed by right-clicking files/directories and selecting "Properties", "Attributes" or "Permissions". The desired numerical value can be entered, or if provided, check boxes can be changed.

The following files and directories must be writable. Depending on how your server is set up, this could mean that they must have CHMOD values of 644, 664 or 666 for files, and 755, 775 or 777 for folders:

  • /attachments
  • /avatars
  • /Packages
  • /Packages/installed.list
  • /Smileys
  • /Themes
  • /Themes/default/languages/Install.english.php
  • agreement.txt
  • Settings.php
  • Settings_bak.php
  • install.php

If the permission on your files or folders does not make them writable, the SMF installer will report the problem. In that case, use your FTP client or host panel to reset the permissions for the files or folders the installer reports.



Advertisement: