[CWB] CQPweb - Symbolic link error

Hardie, Andrew a.hardie at lancaster.ac.uk
Tue Mar 1 19:41:29 CET 2016


Ah... so relative paths for symlinks need to be relative to the location of the symlink, not to the working directory at the time of creation?

I did not know that. Will fix.

(I can see the symlinks being all kinds of fun when we try to make it work on Windows. Ho hum.)

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Jörg Knappen
Sent: 01 March 2016 15:40
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] CQPweb - Symbolic link error

It is somehow my fault, because I suggested to change to relative pathes ...

Zitat von Philippe Baudrion <Philippe.Baudrion at unige.ch>:

> Dear all,
> I have just installed CQPweb 3.2.6 revision 784 and suppose there is  
> a bug while loading the Corpus settings (link: "Go to Corpus  
> settings").
>
> Apache logs an error: Symbolic link not allowed or link target not  
> accessible...
> It seems that the sym link is wrong and points to the wrong folder:
>
> $ ls -l CQPweb
> lrwxrwxrwx  1 www-data www-data     6 Feb 29 17:19 t23 -> ../exe

There should be only one dot before the slash:   ./exe


--Jörg Knappen

>
> instead of the following example previously created :
>
> lrwxrwxrwx  1 www-data www-data    27 Mar  1 11:16 t22 ->  
> /export/data/www/CQPweb/exe/
>
> When I remove "../" in the sym link, the page is loaded correctly.
> Can you confirm?
> Thank you for your great work,
>
> -- 
> Baudrion Philippe
> Correspondant Informatique
>
> UNIVERSITE DE GENEVE
> Faculté de traduction et d'interprétation
> 40, bd. du Pont d'Arve
> 1211 GENEVE 4
>
> Tél +41 22 379 94 95
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list