[Pkg-roundcube-maintainers] Bug#680917: roundcube-core: Symbolic link not allowed or link target not accessible: js/jquery-ui.min.js

Vincent Bernat bernat at debian.org
Mon Jul 9 17:46:01 UTC 2012


 ❦  9 juillet 2012 10:14 CEST, Teodor <mteodor at gmail.com> :

> I've noticed multiple lines in httpd's error.log like this:
> | [Mon Jul 09 08:49:14 2012] [error] [client xyz] Symbolic link not allowed
> |   or link target not accessible:
> |   /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js, referer:
> |   https://mail.DOMAIN/roundcube/?_task=mail&_mbox=INBOX&_refresh=1
>
> After a short look I see several broken links in plugins/jqueryui directory:
> | css -> ../../../javascript/jquery-ui/css
> | js/i18n -> ../../../../javascript/jquery-ui/ui/i18n
> | js/jquery-ui.min.js -> ../../../../javascript/jquery-ui/jquery-ui.min.js
> | (config.inc.php too but shouldn't make a difference)
>
> The reason for this broken links is that ../../../javascript get resolved
> to /var/lib/javascript but the correct location is
> /usr/share/javascript.

Hi Teodor!

We already got a similar problem. The output of ls -l is misleading. You
can check with "readlink -f" instead:

$ ls -l /var/lib/roundcube/program          
lrwxrwxrwx 1 root root 28 juin  20 08:02 /var/lib/roundcube/program -> /usr/share/roundcube/program
$ ls -l /usr/share/roundcube/program/js/jquery.min.js   
lrwxrwxrwx 1 root root 40 juin  24 01:53 /usr/share/roundcube/program/js/jquery.min.js -> ../../../javascript/jquery/jquery.min.js
$ ls -l /var/lib/roundcube/program/js/jquery.min.js   
lrwxrwxrwx 1 root root 40 juin  24 01:53 /var/lib/roundcube/program/js/jquery.min.js -> ../../../javascript/jquery/jquery.min.js
$ readlink -f /var/lib/roundcube/program/js/jquery.min.js
/usr/share/javascript/jquery/jquery.min.js

Could you check that you get the same output on your system? Also, here
is the relevant bug report:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656886

I think you have the same problem. If this is the case, an history of
what versions of roundcube you installed would help to find where the
problem comes from.
-- 
 /*
  * Hash table gook..
  */
	2.4.0-test2 /usr/src/linux/fs/buffer.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20120709/9b1184dc/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list