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.

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:
    1
    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:
    1
    anyone know the way around this ?
     
Loading...

Share This Page