/etc/valiases file permissions changing regularly? How?

jpfour23

Active Member
Jul 25, 2003
42
0
156
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
 
C

cPanelBilly

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

jpfour23

Active Member
Jul 25, 2003
42
0
156
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?
 
C

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.