Administration
  Home arrow Administration arrow CHMOD: Tool for Open Source Administra...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

CHMOD: Tool for Open Source Administration
By: Drew Decker
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 29
    2005-12-05

    Table of Contents:
  • CHMOD: Tool for Open Source Administration
  • chmod Reasoning
  • Switches
  • Modes
  • Mentally Converting from “read/write/execute” to 777

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    TestComplete™ automates software testing for a fraction of what the big guys charge. Easy functional and load testing for all Windows, .NET, Java and Web apps. Download a free trial now.

    CHMOD: Tool for Open Source Administration
    (Page 1 of 5 )

    CHMOD (chmod) is a UNIX oriented command that means “Changing Mode.” It lets you change the mode (hence the name) of the file, or directory(ies) depending on how the chmod command is used. When I say “changing mode,” I mean giving the file a different permission scheme, respectively read, write, and execute. This command, by the way, is one of the most useful and most used commands in Linux.

    UNIX/Linux vs. MS Windows

    Before getting into syntax and the whys of the whole chmod command, I want to get one thing straight. Changing modes do not exist to this extent in MS Windows. There is a similar model that Windows uses in its Management and Active Directory services, using users and groups. In UNIX/Linux it’s quite a bit different though. chmod is not used in MS Windows. In MS Windows, the attrib command is used, and is (again) quite different from chmod.

    Another point I would like to make is, as much as I am a proud MS Windows user, the UNIX/Linux commands that are offered are far more powerful than those offered by MS Windows. There are more options in UNIX/Linux. For example,  switches are case sensitive, so you can have even more switches than in MS Windows, as MS Windows is not case sensitive. This is just a minor comparison and contrast between UNIX/Linux and MS Windows.

    The main reason I’m not comparing the Mac is because I really haven’t had much experience with it. I'm also not comparing it because the Mac uses Darwin Linux. This is simply a different flavor of Linux (BSD), so most of the UNIX/Linux commands will more than likely work with a Mac.

    More Administration Articles
    More By Drew Decker


       · Darwin Linux???
       · You mean "octal", i.e., base 8. Why spend so much wordage introducing IPs and octets...
       · should be darwin linux :D!
       · I have my way of explaining things. Is it because I'm 19 or it because I'm full of...
     

       

    ADMINISTRATION ARTICLES

    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems
    - More Hacks for the User Environment in BSD
    - Personalizing the User Environment in BSD
    - Customizing the User Environment in BSD




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway