Chmod - Undertanding File Permissions On A Unix-based Server
![]() Cheap Web Hosting! Unmetered Traffic & Space Unlimited Domains Unbeatable Pricing Unlimited Web Hosting |
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.
Use Your Hobby To Launch A Successful Website
When you study the really successful websites, you will quickly notice that many are based on seemingly strange subjects, many of which may not easily pass for a serious business.This clearly underlines the fact that when it comes to online enterprises and ecommerce, the possibilities are endless and you can actually succeed at virtually anything. There seems to be just one condition. You need to be passionate about whatever it is your website is about.Jeff Bezos had a passion for books and that is one of the reasons why he borrowed...(related: Cheap Web Hosting)
The Perfect Support
Hosting Support ? An IntroductionImagine yourself as a person running a small-medium sized online store that concentrates on affordablly prized gift items, and say, it's Christmas time. Everybody is on a shopping spree, and you have been waiting for this vacation to arrive, as it is the time of the year when your business really blooms, and with which's revenues you have got to plan for the year to come.Say, your site goes down due to some sort of problems associated with your server on say, the 23rd of December, or on Christmas eve. You will be contacting your hosting company in frenzy, and just imagine if there's nobody there to provide you ...(related: Cheap Web Hosting)
Woe The Web
Finding a good and reliable web hosting company is like looking for the right husband. The word 'right' and 'husband' don't belong together in the first place, many insists! Well, how can I argue with something to inadvertantly correct and incorrect at the same time?So, you've decided to have your own website but don't have a $3000 budget to set it up. You'll be surprised. My first few months into this 'freelancing' world cause me to jump quite a couple of times. One of those times have something to do with web hosting....yeah, they wanted to charge an arm, a leg and 1/2 a kidney to set up my domain name, hosting and also setup no more than 10 pages of my website for the hosting account. Gee, thankfully I have a friend who is in the web hosting b...(related: Cheap Web Hosting)
Unlimited Wealth Creation Through Reseller Hosting
Web hosting can be an exciting business start up for aspiring entrepreneurs. All you have to do to set up your business is become a hosting reseller, i.e., provide hosting facilities to website owners. Here as a business owner, you are buying space from a big hosting company, and redistributing the hosting space to other website owners.Resellers are nothing but entrepreneurs acting as middlemen, offering you hosting services by leasing time and space from another Web host's server rather than owning their own. Most of the times, the quality of services offered by resellers are so good that consumers do not even have the idea that they are dealing with resellers who do not have servers of their own. Resellers, since they can pick and choose their servers, are basically in a position to provide the customers with the best of services....(related: Cheap Web Hosting)
Ebay Pictures Make Money
If you have ever used EBay then you know how important pictures are to a listing. By nature, people tend to pay more attention to the items that have pictures in the items for sale. The old saying "a picture is worth a thousand words" has never been more true but in EBay's case a picture is worth $1.00, $2.00 or more...to EBay! If you want to add more than one picture to a listing or want additional features then you must be willing to pay EBay. Here is just a small list to illustrate the point:Additional Pictures: $0.15Picture Show: $0.25Supersize Picture: $0.75Picture Pack:...(related: Cheap Web Hosting)
How To Choose A Hosting Web Package Cheap
If you're looking for a hosting web package cheap there are many things to consider. To find a hosting web package cheap you really need to do your homework and search the internet for the right host for you. But beware, just because a company might offer a hosting web package cheap you really need to look at what the package offers.Check the Disk Space. Many companies offering a hosting web package cheap may only give you a limited amount of Disk Space like 100 or 150 MB(megabytes). That's O.K. if you're building a site to let friends see and...(related: Cheap Web Hosting)
Setting Up Your First Web Hosting Account
The BasicsSetting up a web hosting account for the first time can be confusing and frustrating for the novice. This article will guide you through the steps of setting up a new web hosting account for your website.Setting up your web hosting account will depend upon many things, the first of which is:Do you already have a website built and ready t...(related: Cheap Web Hosting)
How To Choose A Web Host That Meets Your Needs
One of the most difficult choices you have to make when starting an online business is to choose the ...(related: Cheap Web Hosting)
Choosing A Right Hosting Solution
You must have done all the hard works for developing your website but when it comes selecting your host you may face trouble that it does not have all the features which is required by your site. I know there are 100's of instance where a newbie or startup website owner suffered heavy losses in terms of money, delayed projects, financial debts and other things. So it is important to do some research before choosing a right hosting solution, so that you can give your business a kick start and escaped from possibilities of financial debts.A website is an important identity of yours and it is the responsibilities of the host make...(related: Cheap Web Hosting)
links - site-map - Copyright © 2008 Datorsam Make Money Online | All Rights Reserved. | Cheap Web Hosting
