The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Permission problems

Discussion in 'General Discussion' started by iLLuSi0nS, Aug 26, 2008.

  1. iLLuSi0nS

    iLLuSi0nS Active Member

    Joined:
    Jun 9, 2007
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    For some reason my cpanel users are not able to save file using the file manager.

    The file manager has a GREAT html editor that lets users edit their html files really easily, but when the user clicks "save" they get permission errors.

    The problem is that only "root" is able to write to files even with ftp access.

    I want to know how I can add the cpanel username to the rights to their own public_html folder?

    And I dont only want to add current users, but from now on is there a way when I create a new cpanel account that they are given rights automatically to their own public_html folder?

    Thanks
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Try running /scripts/chownpublichtmls to fix ownership on your existing users.

    By default, users should have proper ownership and permissions to save files in File Manager. If this is not the case, you may want to have our technical analysts take a look at your server.
     
  3. iLLuSi0nS

    iLLuSi0nS Active Member

    Joined:
    Jun 9, 2007
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the reply David, but where exactly do I find "/scripts/chownpublichtmls" should I just run this command in command line? My server does NOT create correct permissions on account creation, and my technical anylist is a server admin and doesnt know cpanel inside out, he is a regular linux genius so I doubt he could find the problem cpanel is having, can someone point out where I can start looking to see why this problem exsists?

    Thanks
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The script is run at the command line and should be run as the root user.

    You may want to have your server administrator contact our technical analysts for assistance with diagnosing and resolving this issue.
     
  5. iLLuSi0nS

    iLLuSi0nS Active Member

    Joined:
    Jun 9, 2007
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    can i just run a cron or something every week to run that command line?

    Well I was just wondering if anyone else has had this problem and what they did to solve it, doubt there is anything wrong with my server, I just got it like 6 months ago and have only 10 accounts

    :(
     
Loading...

Share This Page