Hood College

Department of Computer Science



Hood College




Document List

Adding an Icon
Adding a Menu Item
Changing Directory/File Permission Using Linux Command Line
Cleaning Your Home Directory
Creating Your Web Site
Getting Started with Subversion
HT 319 Computers
Linux for CS courses
Obtaining Your Account on CS Servers
Printing Multiple slides per Page for OpenOffice.org 2.0 Impress
Printing Your Graphic Output
Setting up Cygwin and SSH on Windows XP
Sharing Files between Windows and Linux
Using USB Memory Stick

Getting access MSDNAA Software
Converting SDC Package to ISO Image Issue
Visual Studio 2005 Installation Issue



Computer Science
Mathematics
Hood College
IT Support

Google


Changing Directory/File Permission Using Linux Command Line


1. To check your home directory's permission:

      cd
      ls -l .

2. To set read/write/access permission for you (owner of the file) and search permission for all (drwx--x--x) on your home directory:

      cd
      chmod 711 .

3. To set read/write/execute permission for you (owner of the file) and read permission for all (-rwxr--r--) on you file, go to the directory where the file resides, and:

      chmod 744 <file_name>

4. To add execute permission for you (owner of the file) (-rwx------):

      chmod +x <file_name> (or chmod 700 <file_name>)

5. To remove execute permission from you (owner of the file) (-rw-------):

      chmod -x <file_name> (or chmod 600 <file_name>)



<Top of the page>




Frederick, Maryland           E-mail:  w3admin @ pluto.hood.edu