<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.phpgedview.net/en/index.php?action=history&amp;feed=atom&amp;title=Chmod</id>
	<title>Chmod - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.phpgedview.net/en/index.php?action=history&amp;feed=atom&amp;title=Chmod"/>
	<link rel="alternate" type="text/html" href="https://wiki.phpgedview.net/en/index.php?title=Chmod&amp;action=history"/>
	<updated>2026-06-03T10:23:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.phpgedview.net/en/index.php?title=Chmod&amp;diff=9491&amp;oldid=prev</id>
		<title>Nathanhaigh: brief leading sentance for chmod</title>
		<link rel="alternate" type="text/html" href="https://wiki.phpgedview.net/en/index.php?title=Chmod&amp;diff=9491&amp;oldid=prev"/>
		<updated>2008-01-03T07:58:41Z</updated>

		<summary type="html">&lt;p&gt;brief leading sentance for chmod&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''chmod''' is a Unix/Linux command that lets you tell the system how much (or little) access it should permit to a file.&lt;br /&gt;
&lt;br /&gt;
== Quick and Dirty ==&lt;br /&gt;
For files that need to be writable by everyone, i.e., config.php during installation/configuration, then use:&lt;br /&gt;
 chmod 666 &amp;lt;file&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
 chmod a+w &amp;lt;file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For files that need to &amp;lt;u&amp;gt;not&amp;lt;/u&amp;gt; be writable by everyone, i.e., pretty much every file after the initial configuration, then use:&lt;br /&gt;
 chmod 644 &amp;lt;file&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
 chmod a-w &amp;lt;file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== More detail ==&lt;br /&gt;
&lt;br /&gt;
Installing the PhpGedView application in a UNIX-like operating system will require you to '''chmod''' several files. The &amp;lt;tt&amp;gt;chmod&amp;lt;/tt&amp;gt; command changes the files and directories access modes. It allows for specific files to be readable, writable or executable for three groups of people: the file owner, the file group owner and everyone else.&lt;br /&gt;
&lt;br /&gt;
Reading the output of the &amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; command will tell you the mode, or permissions, of a file. The output is a series of 7 characters which are most commonly: r, w and x. 'r' is read, 'w' is write and 'x' is eXecute. The groups are broken into three characters each and read left to right read, write, execute. Below is an example file that has read permissions for all three groups. '''Note: a '-' indicates no permission.'''&lt;br /&gt;
&lt;br /&gt;
 $ ls -l foo.txt&lt;br /&gt;
 -rw-r--r--   1 bderr  bderr  0 Jan  2 17:04 foo.txt&lt;br /&gt;
 $ chmod 666 foo.txt&lt;br /&gt;
 $ ls -l foo.txt&lt;br /&gt;
 -rw-rw-rw-   1 bderr  bderr  0 Jan  2 17:04 foo.txt&lt;br /&gt;
&lt;br /&gt;
So for the first file above, the owner, ''bderr'', can read and write to the file while the group, ''bderr'', and everyone else can read the file but not write to it. No one has permission to execute the file. Next I ran the &amp;lt;tt&amp;gt;chmod&amp;lt;/tt&amp;gt; utility and then listed the file again.&lt;br /&gt;
&lt;br /&gt;
You may be wondering why there are 7 characters for the permissions but only 6 are used for the three permission groups. The initial character is used for specifying special permissions or characteristics of a file or directory. It will commonly be a 't' which indicates it is a 'sticky' file or directory. Do not worry about sticky bits for the purpse of installing and configuring PhpGedView. See the man page link at the bottom of this document for much more information about this powerful utility.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
http://www.freebsd.org/cgi/man.cgi?chmod FreeBSD &amp;lt;tt&amp;gt;chmod&amp;lt;/tt&amp;gt; man page&lt;/div&gt;</summary>
		<author><name>Nathanhaigh</name></author>
		
	</entry>
</feed>