[Pkg-roundcube-maintainers] Bug#656886: roundcube: problems with symlinks in /var/lib/roundcube/plugins/

Vincent Bernat bernat at debian.org
Sat Feb 4 09:54:54 UTC 2012


OoO En  cette matinée pluvieuse du  samedi 04 février  2012, vers 10:30,
"Marc Dequènes (Duck)" <duck at duckcorp.org> disait :

>> I don't  understand where  jqueryui_pkg comes from  in your  output. You
>> type "plugins/jqueryui" and  you get "plugins/jqueryui_pkg". Moreover, I
>> have no such  directory on my system.  Maybe you have  an old version of
>> roundcube-plugins-extra?

> Because of this symlink problem, i had to find a fix quickly, to avoid
> my users killing me, so i moved the jqueryui directory from the
> package away, copied it, and fixed the symlinks in the copy. But when
> you asked for details, i had to use these original path, and did not
> remove the _pkg suffix everywhere by mistake, sorry.

OK. I am still in the blue about the problem.

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

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

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?

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

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 have:
 Alias /roundcube /var/lib/roundcube
-- 
Vincent Bernat ☯ http://vincent.bernat.im

prom_printf("Detected PenguinPages, getting out of here.\n");
	2.0.38 /usr/src/linux/arch/sparc/mm/srmmu.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20120204/2c74bc71/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list