permissions of file uploaded using FormBuilder

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
lewis
Forum Members
Forum Members
Posts: 14
Joined: Mon Jun 30, 2008 11:20 pm

permissions of file uploaded using FormBuilder

Post by lewis »

U have a form built with form builder which has a disposition of sending result by email. One of the ffelds is file upload. When I submit a form it is uploading file to the /uploads folder, but gives to it 0600 permissions (RW only for owner). Such file is inaccessible from web browser as it need at least 0444 (read for everybody).

In global settings of CMSMS umask is set to 644 and /uploads folder also has 644 as its umask. In donfig.php I have:

$config['default_upload_permission'] = '664';

Any idea what can cause such permissions?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: permissions of file uploaded using FormBuilder

Post by Dr.CSS »

Have you tried to go to file manager and change the folder handling there?...
lewis
Forum Members
Forum Members
Posts: 14
Joined: Mon Jun 30, 2008 11:20 pm

Re: permissions of file uploaded using FormBuilder

Post by lewis »

What do you exactly mean? I am not seeing any settings allowing me to configure umask for uploaded files.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: permissions of file uploaded using FormBuilder

Post by Dr.CSS »

In the settings part of file manager is a thing for setting it most times it says 755 in drop down...

unmask is in Site Admin > global settings...
Post Reply

Return to “Modules/Add-Ons”