Site Panel Help User Panel Help Panel Demo's Search Help

Categories

· Show all categories

· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
· Password Protection
· MySQL
· Stats
· Power Tools

· FAQ Home

· EchoEcho+ Support

XML-File

<?xml version="1.0" encoding="iso-8859-1"
standalone="yes" ?>
<!-- XML-Output by phpMyFAQ 1.3.8 -->
<phpmyfaq
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:NamespaceSchemaLocation="http://www.phpmyfaq.de/xml/faqschema.xsd">
<article id="43">
	<language>en</language>
	<category>SSH and Telnet</category>
	<keywords></keywords>
	<theme>File permissions - chmod</theme>
	<content
xmlns="http://www.w3.org/TR/REC-html40">File permissions are
controlled with the <b>chmod</b>
command on Linux
servers.

The chmod command can be launched from most FTP programs, or
from the
FileManager in the site owner panel or from a direct command
login to the
server via Telnet or SSH.


You can assign rights to: 
1: the file owner 
2: the group  
3: the world

Each of these three can have Read, Write and Execute
permissions. In
general you should never assign Write permissions to
&quot;the world&quot;.
If you do so - the Apache webserver will refuse to execute
the file cause
it&#039;d be a huge security hole.

The three permissions are set with digits (for example 755)
or letters (for
example -rwxr-xr-x).
The first digit is the file owners permissions. The next is
the groups
permissions and the last is &quot;the worlds&quot;
permissions.

Below is a listing of the most typical numeric settings
(charcter settings
are explained further down):

<span style="color: blue;">chmod 600
<i>filename</i></span>
You can read and write; the world can&#039;t. Good for
files.

<span style="color: blue;">chmod 700
<i>filename</i></span>
You can read, write, and execute; the world can&#039;t. 

<span style="color: blue;">chmod 644
<i>filename</i></span>
You can read and write; the world can only read. Good for
html and php
pages.

<span style="color: blue;">chmod 755
<i>filename</i></span>
You can read, write, and execute; the world can read and
execute. Good for
perl scripts.


<b>Change file permissions with letters:</b>

u = user (you)
g = group
a = everyone

r = read
w = write
x = execute

<span style="color: blue;">chmod u+rw
<i>filename</i></span>
  
Give yourself read and write permission

<span style="color: blue;">chmod u+x
<i>filename</i></span>
Give yourself execute permission.

<span style="color: blue;">chmod a+rw
<i>filename</i></span>
Give read and write permission to everyone.</content>
	<author>EchoEcho Support</author>
	<date>12.07.2009, 21:11</date>
</article>
</phpmyfaq>

open XML-File

Copyright © EchoEchoPlus Hosting