The server I'm using (SourceForge.net) mounts the project directory read-only and thus does not allow writting any of the directories under htdocs of my project. Certain things, especially "image" module do not work with the RO files directory.

Any ideas how to work around this issue? Has anyone installed drupal in SourceForge environment before?

I quote from SF documentation:

"Group Directories are Read-Only: The project web servers mount project group directories read-only. The following means are available for storing writable data (i.e. for project applications):

* Place the data in the MySQL database provided to your project. Projects are encouraged to make use of our project database service for application data storage.
* Place the data in the /tmp/persistent directory, accessible from and shared between the project shell and web servers. Projects should create their own subdirectory in /tmp/persistent and make frequent backups of the data. We strongly discourage the use of file-writing applications with our services, due to the security implications of our shared web environment. Users of applications in the project web services that require file-writing are strongly encouraged to look for alternatives that can use a MySQL database for data storage instead."

Now I have tried the creating /tmp/persistant/voytechs directory and doing a soft link "ln -s /tmp/persistant/voytechs files" and I no longer get errors reported, but do images do no appear in my galery although I can see them uploaded in the directory.

Comments

harry slaughter’s picture

- make 100% sure webserver has read/write access to the /tmp dir

- verify that FollowSymlinks is turned on in Apache

- verify your 'files' dir is configured properly in admin / settings / general. it should match the name of your symlink

- i don't believe the drupal code will have a problem with symlinks

--
Living in fear of patch hell?
Want a stable development environment?
Support Dev Releases: http://drupal.org/node/30903
Support Code cleanup too: http://drupal.org/node/28540

--
Devbee - http://devbee.net/