Umask set to 022 but uploaded files get 664

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Decorsign
Forum Members
Forum Members
Posts: 17
Joined: Mon Feb 09, 2009 8:37 pm

Umask set to 022 but uploaded files get 664

Post by Decorsign »

Hi guys,

I have a new cmsms install of version 1.11.1
When i upload files while the Umask is set to 022, the rights to the new uploaded files, get 644 instead of 755.

What is going wrong?

I allready set $config['default_upload_permission'] = '755' in the config file.

Is there something wrong in php?

Please help!

Geert
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm
Location: Italy

Re: Umask set to 022 but uploaded files get 664

Post by gianpiero »

I have 644 permissions in all my CMCMS installations.
I don't know if this is a problem.

Probably the server configurations make this, it's not in my knowledge. I have chrooted ambients for my sites.

bye gianpiero
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Umask set to 022 but uploaded files get 664

Post by Dr.CSS »

What is wrong with having 644 instead of 755..?
Post Reply

Return to “CMSMS Core”