[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
Sat Sep 29 09:18:08 UTC 2012


 ❦ 10 juillet 2012 08:39 CEST, Teodor MICU <mteodor at gmail.com> :

>> $ 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
>
> I have all these exactly as you noted. However, my report was for
> "plugins" directory not for "program".

It seems that dpkg will not replace a symbolic link by a directory. I
still need to investigate a bit on how to fix this.

> Looking at the last message from bug #656886 I see that you assumed
> /var/lib/roundcube/plugins/jqueryui is a symlink but in reality it is
> not. Nor is the plugins directory (from var). The symlink to "/var" is
> in /usr/share/roundcube:
> | plugins -> /var/lib/roundcube/plugins
> | skins -> /var/lib/roundcube/skins

There was a change in roundcube 0.5.1-1 which mangled the symlinks such
that a user should use /var/lib/roundcube as the base and be able to add
plugins. This was to fix bug #612553. I wasn't aware that dpkg had a
special handling for this.
-- 
/* Fuck me gently with a chainsaw... */
        2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.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/20120929/64b382a6/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list