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

Jump to: navigation, search
No edit summary
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
==Dosya İzinlerinin Ayarlanması==
<includeonly>==Set File and Directory 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 />


===Setting File Permissions With the {{#switch: {{lc:{{{1|install}}}}}|install=Install|upgrade=Upgrad}}er===
File and directory permissions control who can see your files and use your directories. They can control whether you will be able to install [[Modifications|mods]] to your forum. On Linux and other Unix-like servers the [[chmod|chmod command]] is used to designate permissions. On most servers, a setting of 755 for directories and 644 for files will work. If this does not work on your hosting service, you may need 777 or 775 for directories, and 666 or 664 for files. Some hosts do not allow using 777 for directories or 666 for files -- using such high values will cause Internal Server Errors, 500 erors, or other errors. If the permission on your files or directories does not make them writable, the SMF {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er will report the problem -- if it can detect it.
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===
'''Note:''' If a Windows server is being used rather than a Linux server, then you will need to contact your host to change the file/directory permissions.
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.


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:
===Setting File Permissions with the {{#switch: {{lc:{{{1|install}}}}}|install=Install|upgrade=Upgrad}}er===
*/attachments
*/avatars
*/Packages
*/Packages/installed.list
*/Smileys
*/Themes
*/Themes/default/languages/Install.english.php
*agreement.txt
*Settings.php
*Settings_bak.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.
In many cases, the SMF {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er can handle this for you. If you want to give this a try, skip this step for now, and wait until you come to the appropriate point in the {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er. The {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er might need to ask you for FTP login details to get the job done, so be sure to make a note of them. If you run into any problems setting file permissions with the {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er, you can use the instructions below for setting file permissions with FTP to handle it yourself.
 
===Setting File Permissions with FTP===
 
Using a control panel or [[FTP_-_How_do_I_use_FTP|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.
</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 19:45, 27 May 2015

[edit] [purge] Template documentation

This template is meant to be included in articles on installing and upgrading, to provide the information about CHMOD/file permissions. To see it in action, please look at the testcases, or at Special:WhatLinksHere/Template:Set_file_permissions

Examples:

{{Set file permissions|install}}
{{Set file permissions|upgrade}}
  • install the word "install" will be inserted at several key points
  • update the word "update" will be inserted at several key points


Advertisement: