Change access rights to an itemThis tool is used to change the access permissions of files or directories on a remote server. This window is displayed when you select Change Access Rights in the Servers tab. In this pane you can quickly change the access rights to any file or directory. Just select the appropriate options and you're ready to go. you can set different permissions for the owner of the file on the server, its group, and for everyone. If you want to set the same read, write or execute permissions for all these groups, use the buttons below. The appropriate numeric code will appear below the buttons. Alternatively, it is possible to enter a numerical code. To do this, check the Enter code manually option and enter the digital code in the adjacent field.Access rights are useful for restricting access to files to certain user groups. Usually, for HTML documents on the server, read rights should be set for all users, e.g. rw-r--r--, and for folders storing web pages, e.g. rwxr-xr-x. It should be remembered that for CGI programs that need to be run on the server, most often an attribute should be set to allow the file to be run. Access rights on Unix-type servers specify access to particular files for the owners of those files, for members of the same user group as the owner, and for all other users. An example attribute might look like the following: This notation can be divided into three groups of three characters in one group. The first three characters are for the access rights of the owner of the file. The fourth, fifth, and sixth characters (from the left) specify access rights for members of the same user group as the file owner. The last three characters define the rights for all other users. These are the fields that define public access. As mentioned, each group consists of three characters, each referring to a separate access right. Thus, the first field means the ability to read (read), the second to write (write), and the third to start (execute). In the event that the rights apply to the directory, the last right (run) concerns the possibility of entering the folder. For example, rwxr-xr-x (digit 755 - this is one of the more popular access levels) specifies an element with read and write rights for the owner and read rights for the group and others. rw-r--r-- (digit 644) is another very popular access level - it specifies an item with read and write (delete) rights for the owner and read rights for the group and others. |
Related topics |