Chmod - Include File Permissions


Placed in Web Hosting Server | November 18th, 2008

The base command to edit files in the operating systems based on Unix, the command “chmod”. Running this with a number of parameters after. For most FTP clients, you can choose the name of the file to change the permissions with the right button and select the command chmod.

There are essentially three categories of authorizations to use the tree command. The three groups are themselves or the owner of your group UNIX, and all the others. Chmod example of a typical look - “chmod 755″ This allows you to add, delete or rename files, and read or edit a file. It is also clear that the Unix and all others can not read and edit the file in question. You can not add, delete or rename the file.

As the figures in the command chmod

There are three types of permits, which can be included in a file. They read, write and perform. The reading is associated with a value of 4, approval give a value of 2 and execution of permission is a value of “1″. So, if a chmod indicated the figure 7 is the first number, it means that the three types of permits will be awarded. If a party is associated with a value of “0″ means that it has no right to a file. ‘6 ‘Tell the server, the user can read and write to the file, but it can not run. I think the idea of you.

To share permissions

Most of your HTML files with a fine of 644 permits. Most script files require an authorization of 755 All configuration files in a package script is often need a file permission 777 Be very cautious about granting a license file von’777 ‘for all. With this authorization, this means that everyone, access to your server of the situation, add, delete, rename, read or edit the file. It is always a good idea with the background of security for less than the amount of permits required for the task.

An FTP client can be simple things

Most people on shared servers is no access to a command line, you use the command chmod. For most people, changing file permissions via an FTP client. To do this, right click on the file you want to change, then select the command chmod. They are typically get a pop-up window, showing nine checkboxes. In all three series. On the left, you usually see in reading, writing and execution for line positions. Can you the same thing before the figures at the top, click on one, two or three boxes for each party. Once you’re done, click Apply or OK and the file permissions are changed.

If you bear in mind that you need more and more restrictive of most file permissions possible that your files to execute, and that the three parties to set permissions to do well. The three parties are still the owners, group, and all the others.






Advertise Here




All other brands, product names, company names, trademarks and marks are the properties of their respective owners.

Post a Feedback






Technorati Profile