VDS Sphera Knowledge Base

Main / Browse Categories / Unix / Linux / How can I change permissions on my files?

Print article Print Article    Email article Email Article

How can I change permissions on my files?
If you are using FTP software, there is usually a menu option or button that says "Change Permissions," click this option. You have choices of R(read), W(write), and X(execute)*.

If you are using a command line utility such as PuTTy, you need to use the "chmod" command.

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

chmod 744 yourfile
to give execute permissions*, use the command:
chmod 755 yourfile
to give read/write permissions, use the command:
chmod 766 yourfile
to give all permissions, use the command:
chmod 777 yourfile

*If you are changing permissions for scripts in Perl/CGI, you need to make sure they have execute permissions.

User Comments
How can I change permissions on my files?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 How do I create a symbolic link?
 I need to get "xyz" package installed for our program to work and am having issues compiling it.
 I noticed "file quota" statistics in my Control Panel. Can you explain what this means as I was not aware there were any limitations on the amount of files that could be placed im my VDS?
 Security Scan Vulnerability False Positives
 Why is my disk space increasing, even when I do not add files?

Why Choose Our Hosting?

Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Plesk Control Panel
  • Unique IP Address
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »