Invalid SQL: REPLACE INTO `swsessions` (`sessionid`, `ipaddress`, `lastactivity`, `useragent`, `isloggedin`, `sessiontype`, `typeid`, `dateline`, `status`) VALUES('ooqn862d9n766dq4x5z1klgjxelx2t65', '54.81.110.114', '1508551208', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '0', '40', '0', '1508551208', '0'); (The table 'swsessions' is full) What does the number ### (eg, 755, 777) means? - Powered By Kayako SupportSuite
Fluid Hosting 20 Oct 2017 
HomeServicesSupportContact UsAbout UsForums |
Support Center » Knowledgebase » What does the number ### (eg, 755, 777) means?
 What does the number ### (eg, 755, 777) means?
Solution About File Modes

File Mode defines sets of permissions on the file. It defines who can read, write and execute it. File mode for cgi-bin has always been traditionally set to 755 (read + write + execute for owner, and read + execute for group and others). Since we utilize suExec, the CGI scripts can be safely set to 711 or even 700. This means nobody else can read your scripts. This provides a very good security in the shared hosting environment.

The file mode can be changed by using an FTP client, through the shell or using WebShell (the web based file manager, available through your control panel). It is normally changeable using the "chmod" command.

What do these numbers mean?

The file mode consists of three digits, and each digits range from 0 to 7. It defines who can access the file. There are three groups of people, each is defined by a digit in the file mode.
  • The first digit defines the permissions for the owner of the file
  • The second digit defines the permissions for the people in the same group as the file's group.
  • The third digit defines the permissions for others.
The permissions are: Read, Write, Execute (often shortened to rwx).

A digit represents the three access rights.

Basic:
  • 0 = No rights
  • 1 = Execute Only
  • 2 = Write Only (rarely used)
  • 4 = Read Only
Combination of the Basic:
  • 3 = Write and Execute (rarely used)
  • 5 = Read and Execute
  • 6 = Read and Write
  • 7 = Read, Write and Execute
As you can see, 3 = 2 + 1, which means Write and Execute. The same applies for the other combinations.

So when you see the file mode of 755, it means:
  • The first digit is 7 = read, write and execute = file owner can read, write and execute this file
  • The second digit is 5 = read and execute = people in the same group as the file's group can read and execute this file
  • The third digit is 5 = read and execute = everyone else can read and execute this file too



Article Details
Article ID: 139
Created On: 06 May 2004 03:16 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | News | Downloads
Language:

Help Desk Software Help Desk Software By Kayako SupportSuite v3.60.04