Need for write access to the data directory.

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/27/2007 5:54:58 PM
Gravatar
Total Posts 1

Need for write access to the data directory.

Is it necessary to have write access to the data directory? Our enterprise web folks do not want to give us write access to our data as the file system behind IIS is AFS running in a farm. We do not plan on creating mutilpe sites.

I have upload images and documents and they appear to be stored in the database as I do not find them on the files system on my development PC.

If write access to the data directory is not needed how can I disable this check in the setup when first copying a site to the central server?

11/27/2007 6:37:16 PM
Gravatar
Total Posts 18439

Re: Need for write access to the data directory.

Hi,

Yes it is currently neccesary that the Data folder be writable unless you don't need to upload images and other files and don't need the search engine. Files are stored on disk under webroot/Data/Sites/[SiteID]/ so in a single site installation site specific files are under webroot/Data/Sites/1/

If your organisation would be interested in sponsoring development of features to allow everything to come from the database please let me know. I would be gald to implement that but its not a high priority unless I get a customer who needs it and is willing to pay for development.

Note that the data folder does not contain the database, it only contains files meant to be writable. For example in addition to gallery images, skins are located there. Skins consist of a master page and css files and images, ultimately I plan to have a browser based editor for creating skins. So in this example even if we had database file storage the master page would typically be installed on the file system even in a farm so either we would not use that feature or we would have to write code to load master pages from the database instead of the file system. The purpose of the Data folder is to have a known writable footprint, no other folders or files need to be writable, anything writable must be beneath the data folder. Depending on the size of the farm there are ways of sharing or keeping in sync a tree of files.  The perfomance in just letting IIS serve images and static files from disk I think will always be faster than running managed code to get every image on the page but in large farms I can see where the everything should be in the database idea becomes more attractive. I'd love to build that but its not something I or my customers have needed yet and its a lot of work and has its own set of tradeoffs vs using the file system.

Best Regards,

Joe Audette

11/29/2007 11:29:16 PM
Gravatar
Total Posts 13

Re: Need for write access to the data directory.

 Seeing as I'm hosting functionality at an ASP, I'd be interested in this as well.  Just not willing to pay for it, unless I try it myself...  

You must sign in to post in the forums. This thread is closed to new posts.