msgbartop
Gossimer’s Premier Web Hosting and Domain Registration Knowledgebase.
msgbarbottom

27 Aug 10 File/Folder Permissions And Groups

Every file and directory on a server has a set of access permissions associated with it. These include the owner of a file, the group a file is associated with, and who has read, write, and execute permission on that file. These permissions allow you to choose who can use your files, and control what they can do with them. There are three groups in terms of file access, and three different permission types they can receive.

The groups are:

  1. Owner – the Owner group consists only of the owner of the website
  2. Group – The group permission pertains to users who are listed in the group to which the file is assigned
  3. Everyone – the Other group consists of everyone else like website visitors
  4.  

The potential permissions are:

  1. Read – this allows a user or program the ability to read the data in a file
  2. Write – the Write permission allows a user or program the ability to write new data into a file, and to remove data from it
  3. Execute – the Execute permission allows a user or program the ability to execute a file, if it is a program or a script
     
  4.  

Setting Permissions Numerically

Numeric Value

Permission

0 No Permission
1 Execute
2 Write
3 Write + Execute
4 Read
5 Read + Execute
6 Read + Write
7 Read + Write + Execute

 

Tags: , , , , , , , , ,

24 Aug 10 Setting File or Directory Permissions

You may tweak the permissions of various files/folders in your website, from the File Manager interface. This can be achieved by following the process described below:

1. Select one or more files/directories and click on the Chmod button.

2. You have two options to set the permissions of a file/folder. Click here to understand various File Permissions and different Groups of users >>

a. Set common permissions of all files/folders

i. Select the Read, Write, Execute permissions for the groups – Owner, Group, Everyone.

ii. If you have selected multiple files/folders, then you need to click on the Set all permissions button to set these permissions for all.

b. Individually select the permissions of each file/folder

You can set permissions to files/directories individually by selecting the appropriate check boxes provided for each file/directory. Alternatively, if you know the numeric value of the file permissions, you may enter the same in the textbox adjacent to Chmod value.

Note: If you are setting the permission for a directory, you can choose to set the same permission to all the files/subdirectories within that directory by selecting the check box adjacent to Chmod also the files within this directory or/and Chmod also the subdirectories within this directory.

3. Click filemanager02 Setting File or Directory Permissions to submit the permissions.
IMPORTANT

Be extremely careful when modifying the file/directory permissions, as it may lead to website visitors either not being able to view a particular file or worse have read/write/execute access to a file that you may not have wished to grant.

If you feel you have erred, you may either seek expert advise or simply delete and re-upload the original file/folder (after taking a backup of the current file/folder).

Tags: , , , , , , , , , , , , , , , , , ,


SEO Powered By SEOPressor