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: Best free web hosting in 2024 TechRadar Web Hosting Services Market Projected to Reach USD 508.0 GlobeNewswire The Best Web Hosting Providers for 2024 CyberNews.com Best web hosting services for 2024 TechRadar Best web hosting for small business in 2024 CyberNews.com UltaHost review TechRadar Best small business web hosting of 2024 TechRadar Best Web Hosting for Canada 2024: Top 8 Providers CyberNews.com The Best Web Hosting Services Deals for November 2024 Yahoo! Voices The best web hosting for freelancers Creative Bloq Fastest Web Hosting Providers 2024: Tested & Reviewed CyberNews.com Best Web Hosting for Personal Websites in 2024 CyberNews.com Time to break up with GoDaddy? Fortune The Best WordPress Web Hosting Services for 2024 Yahoo! Voices Best Hosting for eCommerce in 2024 CyberNews.com HostGator Web Hosting review TechRadar SiteGround Review 2024: Is This Web Hosting for You? CyberNews.com The best free web hosting in 2024 Tom's Guide Best cheap web hosting of 2024 TechRadar The best email hosting services of 2024 TechRadar GoDaddy Web Hosting Review (2024): Pros & Cons listed CyberNews.com Namecheap web hosting review TechRadar Best web hosting services in 2024 CNN Underscored The best web hosting services in 2024 Tom's Guide Best UK web hosting services of 2024 TechRadar |
RELATED ARTICLES
How Can I Get The Web Host Services And Support I Need, Hassle-free? Choosing a host or switching hosts can be an agonizing experience. There are so many choices and price structures. 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. Linux vs. Windows Web Hosting, Does It Make A Difference? One of the most confusing decisions someone new to web hosting will have to make is which platform their server should be on. There are a number of different choices out there but the main two are Linux and Windows web servers. The Big Secret of Fabulous and Mediocre Web Site Hosting Companies Most web site hosting services like the one you're probably using right now, provide you with space on which you can host your web site. These mediocre web site hosting companies will even help you set up your own email addresses and provide you with the ability to run your own scripts and programs. What Is Web Hosting? The best way to explain this is by comparing it to a real-life (brick & mortar) situation. Picture a web hosting company as the owner of a shopping mall. How You Pay More for Unused Web Space and Traffic "2GB web space with 50GB traffic for $5.95 per month!"A luring ad-definitely. 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. Choosing Your Web Hosting Reseller Software As a web host reseller, one of your most important business decisions is your choice of web hosting control panel software. The web hosting software you use will save or cost you time, money, and frustration. 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. Confessions and Tips from a Top Web Hosting Salesman Have you ever gone car shopping with a former car salesperson? Their industry and sales knowledge is powerful information vital to the average buyer. Gaining their street smarts and savvy gives the buyer an edge. Cheap Internet Hosting - Get The Most For Your Money With a Cheap Web Hosting Package With so many web hosting companies competing for your web hosting dollar, the companies have had to stretch their imagination to come up with ways to convince you that their company is giving you the most for your money, and consequently, the most affordable web hosting package for you. The most typical way they've done this is to throw in a bunch of bells and whistles to create full 'packages' so that you get everything you need - and a lot you don't - for one low, affordable price. The Domain Name Gold Rush All the good ones are taken. The really good ones, that is. 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. Choosing the Right Web Host Whatever type of website you want to host, choosing the correct host can be tricky. Most hosting companies offer you more than you will ever use, their sales staff recommend high-end packages for small websites. Web Hosting in 2005 --- Finding the Niche and Cashing in! Web Hosting in 2005 --- Finding the Niche and Cashing in!Over this past year, web hosting has grown to be the biggest it has ever been. With more companies appearing every day, the demand for web hosting has never been higher. Uptime Guarantee - Good Idea? When looking for a Web Host there are lots of factors that come into play. Usually the deciding factors are price and bandwidth. What to Look for in a Web Host The first questions you have to ask yourself are: how much space and bandwidth do I need; do I want one site or several sites; how much will I have to spend; am I going to use an SQL database; how much uptime does the web host offer; does this site host spammy adult sites; what extras are offered; are there script limitations; do they provide a control panel; and if my site gets too big, what is the next level and how much does it cost?BandwidthLet's take bandwidth for instance. If you are starting a brand new site and don't have a lot of other sites to link to it, which, by the way, is becoming increasingly less efficient due to changing search engine rules, it may take over a year to build any real traffic to even worry about this point. Avoiding Bad Web Hosts The Internet represents the most powerful communicationrevolution since the dawn of mankind.Its communication power can literally create businessempires faster and with less startup capital than in allhuman history. Cheap Web Hosting - When Cheaper is Better Anyone who has ever shopped for web hosting knows that you can spend anywhere from nothing up to several hundred dollars to host your web site. So what's the difference? Well often times if you're talking about typical shared web hosting in the $6 to $20 range - nothing. Cheap Web Hosting Package? eCommerce Web Hosting? - Choosing A Web Hosting Provider One of the important decisions you'll make when you decide to put your business on the web is which web hosting provider to use. The web hosting company that hosts your personal page may not offer the best plan for your business needs. |
home | site map |
© 2006 |