I am using Silverstripe on my universities web-server for a class website and I have run into a small hitch.
Whenever I upload a file using the CMS the file is uploaded with read only permissions (600) which means that it will not display on pages, ect...
I have emailed the schools tech department about this and am waiting for a response and thought I would post here also.
The files will upload successfully to the server and the assets folder and all its sub-folders have 777 as there permissions.
Is this a Silverstripe issue or a server issue? I have read around these forums a little and some of the suggestions are to write a cron job that would change all the permissions in everything in the assets folder to 755 every so often or to decorate the File class to change the permissions after upload. Could anyone shed light on either of those methods and give me some link to relevant documentation ect...