[Pkg-roundcube-maintainers] Bug#680917: roundcube-core: Symbolic link not allowed or link target not accessible: js/jquery-ui.min.js
Teodor MICU
mteodor at gmail.com
Tue Jul 10 06:39:44 UTC 2012
2012/7/9 Vincent Bernat <bernat at debian.org>:
> ❦ 9 juillet 2012 10:14 CEST, Teodor <mteodor at gmail.com> :
>> 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!
Hi!
> We already got a similar problem. The output of ls -l is misleading. You
> can check with "readlink -f" instead:
I tried to get that with «readlink -f» but it doesn't print anything
in this case. This is because "../../../javascript" doesn't exist.
> $ 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".
> 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.
2012-05-03 14:52:55 upgrade roundcube 0.5.4+dfsg-1~bpo60+1 0.7.1-1~bpo60+1
(at the same time it started to depend on libjs-jquery-ui)
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
Cheers
More information about the Pkg-roundcube-maintainers
mailing list