NeatoHost.com - Web Hosting Information


Web Hosting Articles Home Page | NeatoHost.com Home Page

Domain

Make Money For Real - Click Here | TextAdPro.com


Articles related to Web hosting.

CHMOD - Undertanding File Permissions on a Unix-Based Server


The basic command for changing file permissions in unix based operating systems is the 'chmod' command. This command is executed with a set of parameters after it. With most FTP clients, you can simply select the filename you want to change the permissions of, right click, and choose the chmod command.

There are three main groups of permissions when dealing with the chmod command. The three groups are yourself or owner, your unix group, and everyone else. A typical chmod command would look like this - 'chmod 755' This allows you to add, remove or rename files as well as read or edit a file. It also specifies that your unix group and everyone else can only read and edit the file in question. They can't add, delete, or rename the file.

How the numbers in the chmod command work

There are three types of permissions that can be given to a file. They are read, write, and execute. The read permission is assigned a value of 4, the write permission is assigned a value of 2 and the execute permission is assigned a value of 1. So when a chmod command specified the digit 7 as the first number, it means that all three types of permissions are to be assigned to it. If a party is assigned a value of '0' then it means it has no rights whatsoever to a file. '6' tells the server that the user can read and write to the file but can't execute it. I think you get the idea.

Common permissions to set

Most of your html files will do fine with a permission of 644. Most script files will need a permission of 755. Any configuration files in a script package will often need a file permission of 777. Be very careful about assigning a file permission of '777' for everyone. With this permission, it means that anyone who gains access to your server will be able to add, remove, rename, read or edit the file. It is always a good idea with security in mind to assign the least amount of permissions necessary to get the job done.

An FTP client can keep things simple

Most people on shared servers will not have access to a command line to be able to use the chmod command. For most people, changing file permissions will be done through an FTP client. To do this, right click on the file you want to alter, and choose the chmod command. You will usually get a popup that will show nine checkboxes. The will be arranged in three rows. On the left you will usually see Read, Write, and Execute for the row headings. You can accomplish the same thing as typing in the numbers above by clicking on one, two or three boxes for each party. Once you're done, you click the apply or ok button and the file permissions will be changed.

If you keep in mind that you need to always go with the most restrictive file permissions possible that still allows your files to execute, and that there are three parties to define permissions for, you'll do fine. The three parties again are the owner, group, and everyone else.

This article was written by Joe Duchesne, president of http://www.yowling.com/, a web hosting company that specializes in helping online business owners increase their website traffic. Copyright 2004 Yowling. Reprint Freely as long as you link back to my website from this resource box.


MORE RESOURCES:
table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/0-0fd=Rurl=http://www.theopenpress.com/index.php%3Fa%3Dpress%26id%3D38732cid=1255051489ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNE8sGBJRpeQYnVIumELgO1O1EJkRwHost Color Announced TextPattern CMS bWeb Hosting/b Service/abrfont size=-1font color=#6f6f6fThe Open Press (press release)nbsp;-/font nobr9 hours ago/nobr/fontbrfont size=-1Host Color, a global quality bweb hosting/b provider announced the launch of TextPattern Hosting Plan. The new TXP service is priced at $3.99 per month and b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/1-0fd=Rurl=http://www.websitehostdirectory.com/hostingnews.html%26file%3Darticle%26special%3Dweb-hosting-provider-netdepot-debuts-vps-services-2428cid=1254866573ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNGbNEH2KZuZEuQF8oUAJ3pwE2N1uAbWeb Hosting/b Provider, NetDepot, Debuts VPS Services/abrfont size=-1font color=#6f6f6fWebSite Host Directory (press release),nbsp;ORnbsp;-/font nobr21 hours ago/nobr/fontbrfont size=-1Atlanta, Georgia - (Website Hosting Directory) - October 6, 2008 - Global Net Access, LLC subsidiary and bweb hosting/b provider, NetDepot, has debuted the b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/2-0fd=Rurl=http://www.tophosts.com/articles/007850.htmlcid=0ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNGxHG3meQyOgKDlI5de6wOJqfE5AAMochaHost Upgrades Reseller bWeb Hosting/b Packages/abrfont size=-1font color=#6f6f6fTophosts,nbsp;Canadanbsp;-/font nobr18 hours ago/nobr/fontbrfont size=-1Oct. 6, 2008- MochaHost.com (San Jose, California) is pleased to announce the upgrade of all Reseller hosting plans offered. All packages now come standard b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/3-0fd=Rurl=http://www.thehostingnews.com/news-web-hosting-open-source-provider-etelos-debuts-marketplace-solution-4669.htmlcid=0ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNG4JbZlc_0xfaimZhX1_Siw91rG5gbWeb Hosting/b Open Source Provider, Etelos, Debuts Marketplace Solution/abrfont size=-1font color=#6f6f6fTheHostingNews.com (press release),nbsp;ORnbsp;-/font nobr23 hours ago/nobr/fontbrfont size=-1San Mateo, California - (The Hosting News) - October 6, 2008 - Through the Etelos Marketplace, Exadel has two applications, with Exadel Fiji and Exadel b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/4-0fd=Rurl=http://www.informationweek.com/news/hardware/data_centers/showArticle.jhtml%3FarticleID%3D210604699cid=1254116413ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNHxYdTUBzoXYRBZ7hWNbdPovjR0UAInside 1amp;1#39;s Giant bWeb Hosting/b Data Center/abrfont size=-1font color=#6f6f6fInformationWeek,nbsp;NYnbsp;-/font nobrOct 4, 2008/nobr/fontbrfont size=-1Here, one of the world#39;s largest bweb hosting/b companies has built its US data center. At its Kansas data center, 1amp;1#39;s five server rooms hold 860 racks and b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/5-0fd=Rurl=http://www.cnw.ca/fr/releases/archive/October2008/06/c3442.htmlcid=1254987195ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNFn1uf0DksoM_CzQ14FbNSh31K_-wPEER 1 Powers Sitemasher, New SaaS Web Site Development Solution/abrfont size=-1font color=#6f6f6fCNW Telbec (Communiqués de presse),nbsp;Canadanbsp;-/font nobr9 hours ago/nobr/fontbrfont size=-1PEER 1 is one of the only hosting companies offering all three types of bweb hosting/b services under one roof; dedicated, managed and co-location. b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/6-0fd=Rurl=http://www.linuxpr.com/releases/10900.htmlcid=1254913670ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNGzBCKtqjTyv-J7gp2rOIxR7udlOQResellersPanel Launches a Free PHP Script Installation Website/abrfont size=-1font color=#6f6f6fLinux PR (press release),nbsp;CTnbsp;-/font nobr14 hours ago/nobr/fontbrfont size=-1ResellersPanel, the synonym of free reseller bweb hosting/b, announces that it has recently launched elefanteinstaller.com - a new website, which offers b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/7-0fd=Rurl=http://www.thehostingnews.com/news-web-hosting-provider-superb-premieres-ranksense-seo-software-suite-4667.htmlcid=1253822387ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNHN1tdzRYSX8i7LYytEaCvaiwvcLAbWeb Hosting/b Provider, Superb, Premieres RankSense SEO Software Suite/abrfont size=-1font color=#6f6f6fTheHostingNews.com (press release),nbsp;ORnbsp;-/font nobrOct 3, 2008/nobr/fontbrfont size=-1Vancouver, British Columbia - (The Hosting News) - October 3, 2008 - Global bweb hosting/b, managed dedicated server, shared and e-commerce hosting solutions b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/8-0fd=Rurl=http://www.hostsearch.com/news/the_planet_news_7825.aspcid=1255116025ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNGAedur_ETuZQ86YNbNlrQ0ADQwJwWeb Host The Planet Improves Enterprise-class Network/abrfont size=-1font color=#6f6f6fHostSearch.comnbsp;-/font nobr3 hours ago/nobr/fontbrfont size=-1October 7, 2008 – (HOSTSEARCH.COM) – Web host The Planet (http://www.theplanet.com) has improved its enterprise-class network, the company announced b.../b/font/div/font/td/tr/table

table border=0 width= valign=top cellpadding=2 cellspacing=7trtd valign=top class=jfont style=font-size:85%;font-family:arial,sans-serifbrdiv style=padding-top:0.8em;img alt= height=1 width=1/divdiv class=lha href=http://news.google.com/news/url?sa=Tct=us/9-0fd=Rurl=http://hostsearch.com/news/host_color_news_7817.aspcid=0ei=dGTrSNfoCZqO9QSLzaT-CAusg=AFQjCNGzRbkvBS3Y-mCp1Ksd8ml3XIA1WQbWeb Hosting/b Provider Host Color Promotes .DE and .EU Domain Names/abrfont size=-1font color=#6f6f6fHostSearch.comnbsp;-/font nobrOct 3, 2008/nobr/fontbrfont size=-1COM) – bWeb hosting/b provider Host Color (http://www.hostcolor.com) is promoting .DE and .EU domain names, it was reported yesterday. The company’s promotion b.../b/font/div/font/td/tr/table

Web-Hosting - Google News

SEO Articles Home Page | Web Hosting Articles Site Map | More Web Hosting Articles |
Trafficfish | TextAdPro | EZmatic | GetSonic | NeatoDomains.com | NeatoHost.com
Free Hosting | Basic Hosting | Deluxe ASP / CGI Hosting | Super CGI / PHP Hosting | Multiple Domain Hosting
Home | Support | FAQs | Order | Contact Us | Manage Account | Advertise | 1AFM.com
© 2008