chmod 777 makes my blood boil

Wed 18 Feb 09 13:40 Attention: open in a new window. PDF | Print | E-mail Extensions Brian Teeman

rageI don't know why but in the last few weeks I have seen a growing number of extension developers write code like this.

if (!is_dir($dstdir)) {
mkdir($dstdir);
chmod($dstdir, 0777);
}

It is hard enough educating users not to do this without extension developers doing it for them.

There is no need ever to chmod 777 anything!!


blog comments powered by Disqusblog comments powered by Disqus