Changing permissions on apache files/folders using WHM (Web Host Manager)

Posted on 2009-04-20
Last Modified: 2012-05-06
I have to change permissions on some folders in an apache installation.  And I found this link that gave part of the solution, but I am not sure exactly how do do it using WHM Manger Accelerated.

FYI this WHM for an entire hosting box, so I assume that means I have access down to the root.  I assume I don't need to have access to the root to do this, but I am providing this for your info in case you need to know it in answering my question.

The installation that I need to change the permissions are for a joomla site that I just installed.  I assume you don't need to know that either, but info anyway.  BTW the Joomla files were installed via Fantastico but they installled the files without properly setting the permissions.

ANYWAY here is the link to the sequence of commands I have to do, but I don't know where in either the WebHostManager or in the CPANEL to execute those commands:


Question by:Rowby Goren
    LVL 21

    Accepted Solution

    That's strange - Fantastico should have set the permissions.

    Anyway, there are a few ways of doing this...

    1. You could use the EasyApache script to install suPHP, which allows users to run Apache as themselves, and therefore you wouldn't need to change permissions ever again :) Basically, it allows files and directories to be writable without needing to set insecure permissions.

    2. In WHM, go to Account Information, search for the account you need to modify, click on the cPanel icon. This opens cPanel for the account you're modifying. Then go to Files and open File Manager. From File Manager then you can set the proper permissions.

    3. Via SSH / command line - use Putty to log into your server and cd to the user's directory and use chmod to set permissions.

    4. Using Fantastico, remove the Joomla installation and then re-install it. I've noticed that sometimes Fantastico doesn't install the database properly first time around. It could be something similar with your permissions.

    Hope this helps. Let me know if you have any questions.
    LVL 9

    Author Comment

    by:Rowby Goren
    Hi Juliamatz,

    Thanks for those suggestions.  I've tried redoing the fantastico but it still doesn't do the permissions.

    I will try #1 and then the others.

    I will be doing this tomorrow so stay tuned!

    LVL 21

    Expert Comment

    by:Julian Matz
    No problem. Let me know how you get on. Oh, I nearly forgot - if you have suPHP enabled, I think you also need to go into your Fantastico settings and make sure that it knows you're using suPHP. In fact, maybe it thinks you are already using it and maybe that's why it's not changing or setting the permissions. Just a shot in the dark ...
    LVL 9

    Author Closing Comment

    by:Rowby Goren
    Thank.  I used ftp to make the permission changes.  And will keep your suggestions in my Knowedge Base.
    LVL 21

    Expert Comment

    by:Julian Matz
    Glad I was able to help. Thanks for the grade.

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
    In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now