[Pkg-owncloud-maintainers] Fwd: (debian bug #676600) just some thoughts about the package

Paul van Tilburg paulvt at debian.org
Mon Jun 11 10:16:09 UTC 2012


Hi!

On Mon, Jun 11, 2012 at 11:54:38AM +0200, Thomas Renard wrote:
> I sent the following message to Paul van Tilburg and he asked me to send
> it to this list...

Yes, thanks ;)

> 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'

That is due to the fact that we started with ownCloud 3, which didn't have
this option.  I am been planning to change this but didn't want to
change much now, as we want to have the stuff in testing before the freeze
and it's working right now.  Or at least, it seemed to be working. :)

> So theoratically it should work to put the whole php stuff to
> /usr/share/owncloud and put the data/ 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
> http://myserver/owncloud 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.

Ok, yes, it would be great if you could test this.
It's a pity we can't do the same with the configuration directory.
But I guess we can symlink /usr/share/owncloud/config to /etc/owncloud
directly.

> 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.

I agree it is a quite definitely a possibility.

> 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?)...

As written in the README we don't support this (yet).  We are talking with
upstream to have a "dynamic" app dir.  At the moment
/usr/share/owncloud/apps is read-only and owned by root on purpose and
the generated configuration disables the "Application Store".  This is
obviously not the case if you already use a configuration from
previous versions or non-Debian installations.

Cheers,
Paul

-- 
Using the Power of Debian GNU/Linux  | E-mail: paulvt at debian.org
Jabber/GTalk: paul at luon.net          | GnuPG key ID: 0x50064181



More information about the Pkg-owncloud-maintainers mailing list