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.

Additional Directory/Create Outside Of /home For All Accounts

Discussion in 'General Discussion' started by Tcalp, Nov 27, 2013.

  1. Tcalp

    Tcalp Active Member

    Joined:
    Mar 16, 2013
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa, ON, Canada
    cPanel Access Level:
    DataCenter Provider
    Hi Everyone,

    I am looking to add an additional folder for all accounts. I am not sure if this is something I would need to have a plugin of some sort written for if there is simply a directory template that exists that I can add an additional folder root to have files placed.

    Thoughts / Advice would be greatly appreciated.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. Tcalp

    Tcalp Active Member

    Joined:
    Mar 16, 2013
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa, ON, Canada
    cPanel Access Level:
    DataCenter Provider
    I suppose everything is a step in the right direction, though that wouldn't work as it only allows for content within public_ftp / public_html
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That's incorrect. Let's assume you're logged into WHM as root and want to create an account. On that account, outside the public_html directory you want to create a directory called WorkRoom.

    In root/cpanel3-skel/ you see there is public_ftp/ and public_html/ directories. Create a new one here called WorkRoom.

    Create a new account and check it for the new WorkRoom directory.

    If you're creating accounts in WHM while logged in as a Reseller, create the WorkRoom directory in this location instead:
    /home/resellerusername/cpanel3-skel/

    Create a new account and check it for the new WorkRoom directory.

    I've just tested this and created a dummy account, works fine.

    HTH!
     
  5. Tcalp

    Tcalp Active Member

    Joined:
    Mar 16, 2013
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa, ON, Canada
    cPanel Access Level:
    DataCenter Provider
    Sorry about that Infopro,

    I think my original query wasn't as clear as it should have been, I wrote it just before heading to sleep.

    I would like to have something like:
    /home/myuser/
    /additional_folder/myuser/

    The main goal is to grant each user access to a partition/folder outside of their user home that we can store files to. Equally the user jailing would need to work within this constraint as we'd want PHP to have access to this folder area.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I don't think what you're looking for here is possible.
     
Loading...

Share This Page