I'm always having permission problem, my folder are set to 0277 (or something like this) after installation of something...

Some examples :

- I had to set a cron job in order to be able to the campaign results
cd /home/mysystem/public_html/sugar/cache/xml; chmod 777 *

- I've just installed...a new module OpenQuotesAndContracts but I have again a problem with the permissions I have to change them all manually to 775.

I was having this :
Code:
403 - Permission Denied

    You do not have permission to retrieve the URL or link you requested,    /sugar/include/SugarFields/Fields/OqcFckEditor/DetailViewStub.php

    Non Please inform the administrator of the referring page, http://www.productions-amstramgram.ca/sugar/index.php?module=oqc_ProductCatalog&action=DetailView&record=6450c844-88b0-bc35-92bf-49f74c16e737 if you think this was a mistake.
What is wrong with my system.

Sugar verison 5.2.0c CE on an hosted server running Linux