Page 1 of 2

Change 777 to 775 when CXS found it

Posted: 08 Jan 2010, 15:31
by Sergio
It will be nice that CXS could change directories from 777 to 775 on the fly, that will help to speed things up.

Of course, that option could be turned ON or OFF.

Regards,

Sergio

Posted: 22 Jan 2010, 09:28
by chirpy
I'll think about it. It could easily break a lot of things, though, if you don't have suPHP enabled.

Posted: 23 Feb 2010, 18:42
by Hostell
Sergio wrote:It will be nice that CXS could change directories from 777 to 775 on the fly, that will help to speed things up.

Of course, that option could be turned ON or OFF.

Regards,

Sergio
+1. Useful feature.

Posted: 24 Feb 2010, 10:29
by ForumAdmin
This has now been added to v1.19

Posted: 24 Feb 2010, 11:20
by vince
Excuse my ignorance, why change directories from 777 to 775 instead of 755?

Thanks,

- Vince

Posted: 26 Feb 2010, 17:05
by chirpy
The feature actually uses 755 as the chmod.

Posted: 26 Feb 2010, 17:31
by Sergio
chirpy wrote:The feature actually uses 755 as the chmod.
Hello Chirpy,
thank you for installing this feature, the only problem that I have just found is that CXS is chmoding /tmp to 755 and that doesn't work and I have suPHP enabled. So, I chmod it to 1777 and it is working now. The same was with /tmp/.ICE-unix

Posted: 04 Mar 2010, 09:22
by ForumAdmin
You certainly shouldn't use the option on /tmp, it's only intended for use within user public_html directories.

Posted: 04 Mar 2010, 13:09
by vince
ForumAdmin wrote:You certainly shouldn't use the option on /tmp, it's only intended for use within user public_html directories.
Isn't that a risk, as I've seen bad files being run from /tmp in the past - or was that just a badly configured cpanel setting?

- Vince

Posted: 15 Mar 2010, 09:31
by chirpy
Scanning /tmp is fine, just don't use --options W on it.