Hot Lines: +92 321 8488 463 & +1 786 2179 794
Portal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

Knowledgebase
You are here: Portal Home > Knowledgebase > CPanel > How to change permissions (chmod) of a file

How to change permissions (chmod) of a file

Permissions can be a very important thing when it comes to your hosting account. Some permissions need to be set to allow certain files to write to it. Along with that, some files need to be perfected from writing to it for security. You can change the permissions in many ways.

Using File Manager

One of the easy and basic ways to change the permissions is through File manager in cPanel. To change the permissions for a file or folder in cpanel, please do the following:

1. Click File Manager
2. Click the name of the file for which you would like to change the permissions for.
3. Select the Change Permissions link at the top right of the page.
4. Select the permissions you would like to set for the file.
5. Click Change Permissions

You have just changed the permissions for a file using File Manager.

Using FTP

Connect to FTP. Go to the file and right click. Choose Permissions or Attributes or Properties (depends on your program).

Using SSH or a script

This can be done with chmod command.



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
None of my CGI scripts are working on the server. How do I get them to work? (Views: 194)
How do I create a MySQL database, user, and then delete if needed? (Views: 182)
What is an addon domain? (Views: 3353)
Error Page Codes (Views: 190)
Do you have a manual for your control panel? (Views: 210)

Powered by WHMCompleteSolution


Language:

Copyright © 2011 NavicoSoft , All rights reserved.