ArticlesReader.com Menu
Newest Articles
Most Viewed Articles
ArticlesReader.com RSS
Submit Article
Login
Signup
Search the articles

Articles Main Categories
Advice
Animals
Automobiles
Business
Career
Communications
Computer Programming
Computers
Entertainment
Environment
Family
Fashion
Finance
Food
Health & Medical
Home & Garden
Humor
Internet Business
Internet Marketing
Legal
Leisure & Recreation
Marketing
Other
Politics
Reference & Education
Religion
Self Improvement
Sports
Technology & Science
Travel
Writing
Subscribe
Receive alert message from us when new articles submitted to our site for free.

Enter your name

Enter your email

Syndicate

















Related Products
Home::Web Hosting

CHMOD - Undertanding File Permissions on a Unix-Based Server

Author : Joe Duchesne

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.

http://ezinearticles.com/members/mem_pics/Joe-Duchesne_537.jpg" border="0" alt="EzineArticles Expert Author Joe Duchesne">

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.

Spam emails More free articles

Related articles


  1. How to Achieve # 1 on Free Hosting
  2. Personal Web Hosting – Free Or Cheap?
  3. Free Web Hosting - Why Might It Be A Bad Idea
  4. Web Site Hosting – An Easy Guide
  5. Finding a reliable hosting provider
  6. Web Site Hosting For Your Business – Free or Paid?
  7. How To Host Several Websites Under One Account
  8. Setting Up Your First Web Hosting Account
  9. How Much Bandwidth Does Your Web Site Need?
  10. How to Choose a Web Host - Frequently Asked Questions
  11. What Is Web Hosting?
  12. Woe the Web
  13. Advanced Hosting for the Mission Critical Web Presence
  14. Is Free Hosting Really Free?
  15. Choose A Host That Matches Your Home Business Needs
  16. The 14 Point Web Hosting Checklist
  17. Website Sitebuilders: Easy to use Website builders Come with a Price
  18. Reseller Hosting Explained
  19. Windows Hosting versus Linux Hosting – Which is right for you?
  20. Free Or Not Free -- It's Your Choice
  21. Great Web Hosting - What to Look For!
  22. Finding a Reliable Host
  23. Web Hosting in 2005 --- Finding the Niche and Cashing in!
  24. Don't Get Fooled by the Web Hosting Wolves in Sheep's Clothing!
  25. Handling Your Email Addresses
More related feeds
Chmod Undertanding File Permissions On A Unixbased 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 ...

CHMOD - Undertanding File Permissions on a Unix-Based Server
The base bidding for dynamical enter permissions in unix supported operative systems is the 'chmod' command. This bidding is executed with a ordered of parameters after it. With most protocol clients, you crapper exclusive superior the ...

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.

CHMOD - Undertanding File Permissions on a Unix-Based Server
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. ...

CHMOD - Undertanding File Permissions on a Unix-Based Server - We
... bargain basement prices, you may find it as close as your web hosting provider. Many companies that host web sites also offer web design servi. More info on CHMOD - Undertanding File Permissions on a Unix-Based Server.

[转]Securing your Joomla Website
The command used by the operating system to set the permissions of a file is called 'chmod' which means 'change mode'. To get the balance between security and usability, all folders should be set to 755, and all files should be set to ...

Corporate Profiss Editors files. News releases for this client are ...
Good Press Releases - Excellent Website Promotion For Free ... Five Ways to Energize Your Newsletter ... CHMOD - Undertanding File Permissions on a Unix-Based Server ... The MONY name reflects the company’s heritage. ...

new saudilayer : Get to the top on Google and yahoo
Get to the top on Google 83 and need to undertake the third step above. Use your FTP command line interface to change the Unix permissions on the .htaccess file to 644 (-rw-r--r--). The command to do this is chmod 644 .htaccess. ...

Cant Write Articles For Links? Write code!
Related Entries. The Small Screen SEO! CHMOD - Understanding File Permissions on a Unix-Based Server; Server Side Includes (SSI) with ASP; Do-It-Yourself Web Design for Home-Based Businesses; HTML Editors 101 - Smaller Is Better.

Hack
For instance, if a system administrator inadvertently changes file permissions on a server or opens an authorized service, the tool could report this change to the management server. As we stated earlier, specialized scanners are ...

 


 

© 2007 articlesreader.com - All Rights Reserved