Page 1 of 1

permissions of file uploaded using FormBuilder

Posted: Thu Aug 14, 2008 8:20 pm
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?

Re: permissions of file uploaded using FormBuilder

Posted: Thu Aug 14, 2008 9:30 pm
by Dr.CSS
Have you tried to go to file manager and change the folder handling there?...

Re: permissions of file uploaded using FormBuilder

Posted: Fri Aug 15, 2008 6:34 pm
by lewis
What do you exactly mean? I am not seeing any settings allowing me to configure umask for uploaded files.

Re: permissions of file uploaded using FormBuilder

Posted: Fri Aug 15, 2008 8:09 pm
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...