PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : چگونگی تغیر chmod با دستورات لینوکس



Vahid
August 6th, 2008, 17:32
When installing software on your domain account or server it is often necessary to change file permissions to make software work properly. Here is a quick guide of how to change file permissions on your system (no matter if it is a hosting account or server).
If you are using a FTP software client, there is usually a menu option or button that allows you to "Change Permissions". You will have choices of R(read), W(write), and X(execute) or to set a number code which would represent the permission level you want to set. If you are using the command line to change file permissions you can use a utility such as PuTTy (http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html). The actual command you need to use, is the "chmod" command.
If you want to give read permissions, use the following command:
chmod 744 filenameTo give execute permissions*, use the command: chmod 755 filenameTo give read/write permissions, use the command: chmod 766 filenameTo give all permissions, use the command: chmod 777 filename