Coin, Quoting Vincent Bernat <ber...@debian.org>:
I don't really understand why the fact that the symlink is a relative one is a problem. From what I understand, you want to try to access to: /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js
Apache tries to yes:[Sun Feb 05 18:59:15 2012] [error] [client 2001:7a8:810:6969:21f:d0ff:fe8f:cfec] Symbolic link not allowed or link target not accessible: /var/lib/roundcube/plugins/jqueryui/css, referer: https://webmail-rc.duckcorp.org/?_task=settings [Sun Feb 05 18:59:15 2012] [error] [client 2001:7a8:810:6969:21f:d0ff:fe8f:cfec] Symbolic link not allowed or link target not accessible: /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js, referer: https://webmail-rc.duckcorp.org/?_task=settings
And as you can see, the css symlink is not working either.
The output of ls -l is misleading for this file:lrwxrwxrwx 1 root root 49 janv. 22 12:37 /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js -> ../../../../javascript/jquery-ui/jquery-ui.min.js
Why misleading?
From the above, we may assume that the linked file is: /var/lib/javascript/jquery-ui/jquery-ui.min.js Is that what you mean?
Yes.
However, readlink -f output confirms that everything works as expected: $ readlink -f /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js /usr/share/javascript/jquery-ui/jquery-ui.min.js
But it does not here.
Do you get a 404 when accessing this file? With Apache, if I try this, I get the file: $ curl http://localhost/roundcube/plugins/jqueryui/js/jquery-ui.min.js
I get a 403, see log entries above.
I have: Alias /roundcube /var/lib/roundcube
I'm using a dedicated vhost, but was using /usr/share/roundcube.It seems i missed the change in the changelog in 0.5.1-1 « Rework how symlinks work. ». Nevertheless, after changing the directory, it does not work better.
I had another look at the problem. When building your package i get (using debc): lrwxrwxrwx root/root 0 2012-02-05 19:06 ./var/lib/roundcube/plugins/jqueryui -> /usr/share/roundcube/plugins/jqueryui In my system, it is not a symlink, but a directory. I may have done a mistake earlier, so i moved /var/lib/roundcube/plugins/jqueryui away, before upgrading to 0.7.1-1. This file is then recreated as a directory!
Looking a bit further, i can see /usr/share/roundcube/plugins should be a directory, but in my system is a symlink to /var/lib/roundcube/plugins.
It really seems the migration to the new symlink layout did not work correctly on my system :-(.
-- Marc Dequènes (Duck)
pgpqF1L84LUu6.pgp
Description: PGP Digital Signature