Business Management | Editors Column | Hosting Customers | Interviews & PR | Marketing/Advertising | Online Marketing/SEO | Web Hosting | Web Hosting Reviews

Web Hosting Reviews and Tutorials

Cheap Web Hosting at IX Hosting

How to change File Permissions from the command line?

by WHRKIT on January 12, 2005

How to change File Permissions from the command line?

When installing software on your domain account or server it is often necessary to change file permissions to make software work properly. Here is a quick guide of how to change file permissions on your system (no matter if it is a hosting account or server).

If you are using a FTP software client, there is usually a menu option or button that allows you to ”Change Permissions”. You will have choices of R(read), W(write), and X(execute) or to set a number code which would represent the permission level you want to set.

If you are using the command line to change file permissions you can use a utility such as PuTTy. The actual command you need to use, is the “chmod” command.

If you want to give read permissions, use the following command:

chmod 744 filename

To give execute permissions*, use the command:

chmod 755 filename

To give read/write permissions, use the command:

chmod 766 filename

To give all permissions, use the command:

chmod 777 filename

Related posts:

  1. CHMOD – Understanding File Permissions on a Unix-Based Server
  2. Linux Tutorial: How to change the IP ADDRESS on a Linux machine
  3. How to install the Midnight Commander File Manager?
  4. Howto: Upgrade Cpanel To Latest Mysql
  5. CPanel: Backup and Restore a Domain Account via SSH
  6. The Proper Way To Use The robot.txt File
  7. How to write a cron job?

Leave a Comment

Previous post:

Next post: