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

Jump to: navigation, search
(Undo revision 6892 by Gnoll (talk) please do not translate inline english templates)
Line 1: Line 1:
==Dosya İzinlerinin Ayarlanması==
==Set File Permissions==
{{lc:{{{1|Yükleme}}}}} arşivinin çıkartılıp yüklenmesinden sonra, dosyaların izinlerinin ayarlanması gerekmektedir. Bu genellikle Unix <b>CHMOD</b> kullanılarak yapılır. SMF dosyaları için doğru CHMOD değerleri 777, 775 veya 755, sunucu sağlayıcınıza göre değişir.<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 files is either 777, 775 or 755, depending on your hosting service. There are two methods for this step, the method used depends on the hosting service that you use. <br />


===Setting File Permissions With the {{#switch: {{lc:{{{1|install}}}}}|install=Install|upgrade=Upgrad}}er===
===Setting File Permissions With the {{#switch: {{lc:{{{1|install}}}}}|install=Install|upgrade=Upgrad}}er===
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.
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.


===FTP ile Dosya İzinlerini Ayarlama===
===Setting File Permissions With FTP===
Kontrol paneli veya FTP istemcisi kullanılarak, dosya izinleri hızlı ve kolayca değiştirilebilir. Genellikle, FTP programları izinlerin değiştirilmesine, sağ-tık dosyalar/klasörler ve "Özellikler", "Yetiler" veya "İzinler" bölümlerinden seçilmesine izin verir.
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.


Aşağıdaki dosyalar ve klasörler kesinlikle yazılabilir olmalıdır. Sunucunuzun nasıl kurduğuna bağlı olarak, dosyaların <b>CHMOD</b> değerlerinin 644, 664 veya 666, ve 755, 775 veya 777 dosyalar için olması gerekir:
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


Eğer dosyalarınızdaki veya klasörlerinizin izinler onları yazılabilir yapamıyorsa, SMF yükleyicisi bu problemi bildirecektir. Bu durumda, FTP istemcinizi veya sunucu panelinizi kullanarak dosyalar veya klasörler için yükleyicinin bildirdiği izinleri sıfırlayın.
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 10:20, 12 June 2011

Set File 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 files is either 777, 775 or 755, 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: