Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
File upload permissions

 

 


Vaisoco
User

Sep 10, 2008, 6:20 AM

Post #1 of 5 (768 views)
Shortcut
File upload permissions Can't Post

We are using CMS Builder to manage file uploads.

The problem is that the files seem to be uploaded with permission 600. This means that nobody but the owner can view them. Is this a server issue or is there somewhere we can set the permissions for uploaded files through CMS Builder?

Many thanks for your help.


Dave
Staff / Moderator


Sep 10, 2008, 10:25 AM

Post #2 of 5 (747 views)
Shortcut
Re: [Vaisoco] File upload permissions [In reply to] Can't Post

Are you using a recent version? CMS Builder tries to reset the permissions for hosts that would otherwise create restrictive permissions like that.

If you can email me FTP and CMS login details as well as steps to reproduce I can take a look. Email dave@interactivetools.com (email, don't post login details to forum).

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com


Vaisoco
User

Sep 10, 2008, 11:55 AM

Post #3 of 5 (737 views)
Shortcut
Re: [Dave] File upload permissions [In reply to] Can't Post

Dave

I have sent an email to you.

Sincere thanks


Vaisoco
User

Jan 15, 2009, 8:56 AM

Post #4 of 5 (481 views)
Shortcut
Re: [Vaisoco] File upload permissions [In reply to] Can't Post

Dave - this has happened again on file uploads with a test website. What was your answer please as I dont have the email.
All uploaded files through CMS Builder are defaulting to 600


Dave
Staff / Moderator


Jan 15, 2009, 3:09 PM

Post #5 of 5 (477 views)
Shortcut
Re: [Vaisoco] File upload permissions [In reply to] Can't Post

Hi Vaisoco,

Usually this is an issue with the server configuration. Newly uploaded files from PHP are being created in a temp directory but not being given adequate permissions.

Getting hosts to change their setup can be hard so we added a workaround in 1.23 for this:
- Compatibility: Upload file permissions are automatically changed for servers that save uploads with read permissions

If you haven't already done so, try upgrading.

Let me know if that fixes it for you.

Dave Edis - Senior Developer
interactivetools.com