I logged into my control panel and i discovered that my directory permissions was set as follows

/home
/access_log = 750
/etc =750
/mail = 750
/public_htm = 750
/public_ftp = 750
/tmp = 755
/www = 750

Can I set it all to 640.

can someone tell me the best way to set this without opening any security holes
thank you

Member Avatar for LastMitch

@mutago

Can I set it all to 640.

Yes, if you want it that way.

can someone tell me the best way to set this without opening any security holes

Read this:

http://php.net/manual/en/function.chmod.php

It really depends on hwo you want it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.