<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">Hi there,
I sent the following message to Paul van Tilburg and he asked me to send
it to this list...
-------- Original Message --------
Subject: (debian bug #676600) just some thoughts about the package
Date: Sun, 10 Jun 2012 22:43:46 +0200
From: Thomas Renard <a class="moz-txt-link-rfc2396E" href="mailto:cybaer42@web.de"><cybaer42@web.de></a>
To: Paul van Tilburg <a class="moz-txt-link-rfc2396E" href="mailto:paulvt@debian.org"><paulvt@debian.org></a>
Hello Paul,
I send you this mail beside the official bug stream because of some
thoughts about the owncloud package. I wonder why there are these
symbolic links pointing to /usr/share/owncloud.
The configuration file has the option
"datadirectory" => '/var/lib/owncloud/data'
So theoratically it should work to put the whole php stuff to
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/share/owncloud and put the data<span class="moz-txt-tag">/</span></i> dir to /var/lib/owncloud without
any symbolic links there and set the "datadirectory" directive as it is
anyways. Then the web server should bind the link
<a class="moz-txt-link-freetext" href="http://myserver/owncloud">http://myserver/owncloud</a> to /usr/share/owncloud. I will try this out in
the next days with the upstream package and the debian package because I
think that this would help to fix the problem from bug #676600.
Maybe the php-fpm daemon does not allow to include libraries across
symbolic links (??). If all libraries are in real subdirectories there
is no problem - as with the upstream package in /var/lib only.
Then, there is a problem that apps/ is written from owncloud online
(when installing a 3rd party app). So apps should not be placed in an
"read-only" directory like /usr/share (and what happens if apps is
symlinked to /var/lib/owncloud?)...
kindly regards
Thomas
-------- Message end --------
In the meantime I reordered my own upstream owncloud system to
/usr/share/owncloud and let the data in /var/lib/owncloud/data as
described above but I did not move conf and apps out of
/usr/share/owncloud by now. I changed the bind directory for lighty to
/usr/share/owncloud. This works fine though I needed to cleanup the
cache of my chromium browser (??). So moving conf to /etc and apps to
whatever is missing on my experiment.
Thomas
</pre>
</body>
</html>