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!

adding directory to open base_dir

Discussion in 'General Discussion' started by rhys24, May 2, 2005.

  1. rhys24

    rhys24 Member

    Joined:
    Mar 28, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    adding directory to open base_dir for new users

    Hi wonder if you can help me. i have some files in /usr/local/bin that clients require access to.

    I've edited the line to the phpopenbasect.

    I then chattr +i the file,

    Then go to whm tweak settings and disable php open_basedir, and then re enable it.

    this all works fine and the users can access the directory.

    the problem i have is that when a new user makes an account, these settings arnt given to the new account, and i have to disable php open_basedir and then re enable it for the settings to work. What im after is a way around this, so when a new account is created, i dont have to disable then re enable.

    Does anyone know a way around this ?
     
    #1 rhys24, May 2, 2005
    Last edited: May 2, 2005
  2. rhys24

    rhys24 Member

    Joined:
    Mar 28, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    anyone know the way around this ?
     
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