Change Permission Setting

hello,

is it enough to change to setting in config file or do i need to edit some other files to have let's say 770 for directories and 660 for files.

Just rembered that older versions had to be configured somewhere else also.

Thank you in advance