Navigation: | Home | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ||
Web Hosting Information |
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: Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 404, exiting |
RELATED ARTICLES
10 Helpful Tips to Follow When Switching Web Hosts You've made your decision to move from your website from your current web host to a new web host. The following tips will help you make the transition easier and make you aware of some potential pitfalls to avoid. Reseller Web Hosting - A Cheaper Alternative? There comes a time when the internet bug hits us all and we tendto acquire a wealth of domain names and web sites to feed ourfrenzy.We start out with the best intentions, set up a personal homepage with a few details about ourselves, then create more for ourfamily, then our business and before we know it we have severaldomain names and web sites spread across several web hostingcompanies. How To Choose The Best Web Host For You Web Hosting is a service. Auto mechanics also provide a service. Beware of the Hidden Perils of Low Cost Hosting Some folks classify low cost web hosting on the same level as free web hosting and while this may seem a little harsh, there are certain factors one needs to be very careful about when going for low cost web hosts.One of these is downtime. Adult Web Hosting: The All You Need To Know What sort of web hosting options should you go for if you want to host an adult website? You need to remember that this is the most critical aspect of your adult website. Facts like shared or dedicated adult web hosting, the maximum allowed bandwidth, the average uptime of the server and the server space should be critically taken into consideration while researching for your adult web host. Steps to Becoming a Web Host Reseller You've decided to get a reseller web hosting account to resell web space. What now? Here's a step-by-step guide. Choose A Host That Matches Your Home Business Needs With plethora of hosting companies offering services, choosing a good web host seems an intimidating task. The technical jargon is hard to decipher and that makes it difficult further. Windows Hosting versus Linux Hosting - Which is right for you? There are literally hundreds of thousands of web hosting companies out there. Many of these companies offer both Windows hosting and Linux hosting plans. Free Web Hosting There is no concept of free lunch in the world, this is exactly true when we talk about free Web hosting for the webmasters. Before going ahead we must talk about what hosting exactly is; Hosting is the process of storing files onto a web server so that it can be accessible to viewers through a web browser. Web Hosting Providers - Find A Newbie Friendly Web Site Host If you're about to set up your first web site and are completely new to running a web site, a dependable web hosting plan with stellar customer service is an absolute must. You'll want to choose a web hosting provider that can be of assistance from the moment you choose one of their web hosting plans. Are Free Webhosting Accounts Really Free? - 5 Critical Things to Consider Before Choosing a Free Web Many free web hosting accounts are free to use, however they will cost you a lot of money, time, and customers as well if you have a site that is meant for business purposes and is more than the simplest site imaginable. Consider the following items as to why free web hosting might cost you more than you had bargained for when you signed up. Web Hosting Operating Systems Explained A few time ago appeared a lot disagreements between opinions on the internet regarding, which is the best operating system for web hosting. There are people who hate windows, there are people who love FreeBSD and many others. Avoid Getting Ripped Off By A Hosting Company Chances are if you host multiple domains or websites you are spending too much money at your current hosting provider. Other hosting companies increase their profits by forcing you to create an additional hosting account every time you want to host a new domain or website. How To Change Your Web Hosting Provider - Step-By-Step Guide Whether you are disgruntled with the level of service your current web hosting provider, or you have discovered a provider that offers you better deal, or your online business has simply outgrown your present provider, any reason is as good as any for changing your web hosting provider. The only concern is how to switch your web site from a web host to another in the right way and no or as little aggravations as possible. How to Start Your Own Hosting Services If your like many another webmasters you might be thinking of starting a web hosting company. But where do you start? And more importantly, what do you need to know? Well, in this article I will show the basic things that you will need in order to succeed as a web hosting provider. Finding a reliable hosting provider The website hosting business is very competitive these days with hundreds of thousands of reliable hosting companies out there but what company is best for your needs and that will provide you with a reliable hosting service from customer support to the reliability of there web servers. The following is what is the most important aspects you need to consider when choosing a web hosting provider: 1)Customer Service - Customer service is a very important aspect of any host if not the most important you will need to check there reliability by:- Seeing if they have a 24 hour contact phone number -FAQ section on there website to help you with the most common questions such as what are name servers? -Ticket support to answer any non urgent questions that you might have -Live support isn't essential but it is useful for quick help 2)Servers-The serer are the most important part of a web host since without them they can be a host. Web Hosting Solutions In Birmingham Once you have a website you then need to think about hosting your site. There are many hosting companies offering different fees, therefore it can be quite difficult in finding the best deal. Webhosting for Blogs - Free or Paid Service Blogging is an abbreviation of "web-logging". The simplest definition of a blog is that it is an online log that is organized in reverse chronological order. 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 web host that meets your needs and budget. Throw in the search term "web hosting" into major search engines and you will see what I mean. Does Your Host Fight Spam? Virtually anyone with an email address knows what Spam is, and has, perhaps, considered giving up the speed, convenience, and simplicity of email because of it. Those who have their own websites are more vulnerable than the average person with a single work or home email address from their company or Internet Service Provider. |
home | site map | contact us |