Page 1 of 1

Chmod 777

Posted: Fri Feb 05, 2010 7:59 pm
by Kev
I'm installing OpenX Ad Server on my dedicated linux server and the install instructions says that I MUST chmod some directories to 777 for the software to work correctly.

Is this safe to do? I really don't understand the consequences of this, even though I understand what file permissions are and how they work.

Re: Chmod 777

Posted: Fri Feb 05, 2010 8:09 pm
by AbraCadaver
So what it means is that since anyone can write to the file, if your web server is compromised or if there is a flaw in it or some script that is accessible , then malicious code can be written to this file.

That being said, many programs require this and won't function otherwise. I do it when required.