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.

/etc/valiases file permissions changing regularly? How?

Discussion in 'General Discussion' started by jpfour23, Sep 26, 2007.

  1. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Hey all,

    I have a PHP script that writes certain email aliases to a file for a particular domain. It is in a secured environment. However, recently (past few months) CPanel or something on my machine is changing the permissions of all the files in this directory.

    Any idea what this is? Or how I might stop it from changing permissions? I need the file to be writable by all so that this file can be updated.

    Thank you.
    Josh
     
  2. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Anyone? Any ideas?
     
  3. cPanelBilly

    cPanelBilly Guest

    What you are talking about would be a large security hole so it isn't allowed by cPanel.
     
  4. jpfour23

    jpfour23 Active Member

    Joined:
    Jul 25, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Why is it a large security hole? It's been working for years up until a couple of months ago. Is there an alternative method of writing to this file or setting up aliases via PHP?
     
  5. cPanelBilly

    cPanelBilly Guest

    There is no way to do this. It is a security hole because you would allow any user on your server to modify any other users alias file.
     
Loading...

Share This Page