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!

FTP & Subdomains - Confirm Delete of public_html

Discussion in 'Data Protection' started by Dhaupin, Jan 11, 2016.

  1. Dhaupin

    Dhaupin Active Member

    Jan 3, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    EDIT: I found part of this request here: Disable "Delete account and files" button if FTP account is jailed to either /home/user or /home/user/public_html


    I'm not sure if this is a bug/issue or a feature request, or if i'm just whining. Basically there is a somewhat dangerous UX in FTP and subdomains areas where if the said ftp/sub is attached to the accounts public_html, its able to be deleted without [much] confirm when the "delete home dir" is checked.

    Should there be more "are you sure" warnings there? Or a double opt-in if the path is public_html, www, account home, etc default dirs? Or a way to stop rm from running if you realize after what just happened (say you weren't in SSH atm)?

    It seems too easy to miss and nuke the public_html (or any critical SNI multi-installs, etc). I realize awareness is part of the job of an OP, but sometimes all people make mistakes causing a hefty time consuming backup to be initiated.

    What do you think? Worth something or just whining, haha
    #1 Dhaupin, Jan 11, 2016
    Last edited: Jan 11, 2016
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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