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.

How is possible, that user can delete systemfolder via FTP?

Discussion in 'General Discussion' started by musti19, Aug 27, 2013.

  1. musti19

    musti19 Well-Known Member

    Joined:
    Jan 20, 2013
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,
    i have 2 customers they have deleted the system folders via ftp.
    The directory like: mail,public_html
    How is this possible? How can i fix this?

    and how can i restore /renegerate this system folder this?

    thank you
     
  2. PlotHost

    PlotHost Well-Known Member

    Joined:
    Apr 29, 2011
    Messages:
    253
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    US
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can restore the accounts if you have backups or re-create the accounts.
     
  3. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    This is possible because the user has control over these folders as they are under their ownership within their home directory, I know how frustrating it is however when a client with a badly configured web publishing program manages to wipe out their account several times in a row. Still, I suppose that's what backups and t&c clauses that allow you to charge for fixing client mistakes are for ;)
     
  4. musti19

    musti19 Well-Known Member

    Joined:
    Jan 20, 2013
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    is this avoidable ?
    Because other panels have no problem with it.
     
  5. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    Totally avoidable by user education (i.e using sub ftp/web disk accounts locked to public_html to publish, not deleting things they don't know the purpose of) and not using crap web publishing software ;)

    Perhaps more relevant to what you're asking, no there isn't a configuration you can change to make the issue go away. Out of interest are you doing general hosting or are you managing a cPanel machine that contains a number of sites to which various members of staff have access?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could create an individual FTP account for the user that does not have access to directories above public_html. However, the user would have to be directed to use that FTP account instead of the cPanel username. The following feature request may be of interest to you:

    Per Account Ability to deny forms of file management

    Thank you.
     
Loading...

Share This Page