Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

CHMOD Problem

Discussion in 'General Discussion' started by jimmyp3016, Jun 26, 2007.

  1. jimmyp3016

    jimmyp3016 Registered

    Joined:
    Jun 26, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hey Everyone,

    On one of my sites a user has Joomla installed and when the upload a module through joomla it makes the owner of the files 99 99. Which is nothing i presume.

    How can I chmod all the files at once in cpanel?

    Any help would be great thanks!
     
  2. Silver_2000

    Silver_2000 Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    338
    Likes Received:
    1
    Trophy Points:
    318
    Dont know of a way to do it in cpanel

    Code:
    chown -R owner:owner folder/
    will work from shell though
     
    #2 Silver_2000, Jun 27, 2007
    Last edited: Jun 27, 2007
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    you can chmod from cPanel file manager, but no chown. Which is what you need to do here.


    (an example) chown -R user:user /home/user/public_html/joomla

    I'd be careful with Silver_2000's suggestion. If you did that after logging in (and not moving to the correct directory) you might make a real mess.

    In other news, once cPanel releases the updates for moving to Apache2 this shouldn't be a problem any longer for you. Or if you can't wait you could always move to PHPsuexec then all files written to server will be owned by the user as they should be.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Silver_2000

    Silver_2000 Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    338
    Likes Received:
    1
    Trophy Points:
    318
    Which is why the folder/ is there - I wasnt going to try to guess what the right path was - at least in my example if it was followed blindly it wouldnt do anything since there is no folder called folder and there wasnt enough info for the totally uninformed to screw things up ...

    its also very similar to the man pages

    I edited the post to switch chmod to chown


    the point was that it cant be done from cpanel and ANYTHING done in shell could cause all kinds of problems if done incorrectly depending on your rights.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice