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

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

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

 

Note

It is highly recommened that you do not set 777 as the file/folder permission, as this may pose a security hazard to your website.

  • FTP
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

About FTP

FTP stands for File Transfer Protocol. Essentially, it is a simple tool to move files from one...

Do you allow Anonymous FTP?

What is Anonymous FTP?It is a special case of FTP, where users do not need an account on the...

Should I use Active or Passive mode for FTP?

FTP exists primarily for the transfer of data between two end points. FTP differs from HTTP...

To Upload Content/Files using WinSCP

1. Open WinSCP.2. Provide the Host name, User name and Password information, set Port number to...

Powered by WHMCompleteSolution