<div class="gmail_extra">Alan,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Something going wrong with path calculation, look at </div><div class="gmail_extra"><span style="white-space:pre-wrap">function checkFileAccess($filepath) ... </span><span style="white-space:pre-wrap">include/utils/CommonUtils.php</span></div>


<div class="gmail_extra"><span style="white-space:pre-wrap">
Regards,
Prasad</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 1:25 PM, Alan Lord (News) <span dir="ltr">&lt;<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
on my local machine I run Eclipse.<br>
<br>
I&#39;m working on some new custom modules for a customer and am trying to<br>
do have a symlink from the modules directory to my local<br>
~/workspace/modulename directory, e.g.<br>
<br>
lrwxrwxrwx 1 root     root       49 2012-04-24 08:45 Alerts -&gt;<br>
/home/alord/workspace/CustomerProject/Alerts/modules/Alerts<br>
<br>
But if I do this, I always get the dreaded &quot;Sorry! Attempt to access<br>
restricted file.&quot; message.<br>
<br>
But if I *copy* the module directory from my workspace to the /modules<br>
dir. then my custom module works OK.<br>
<br>
I tried setting various permissions on my local files such as<br>
alord:www-data (or www-data:alord and even www-data:www-data) with<br>
rw-rw-r on files and rwxrwx-r-x on directories but the symlinks still do<br>
not work.<br>
<br>
My localhost&#39;s webserver has FollowSYmlinks set.<br>
<br>
<br>
I&#39;m sure others must have had this problem before...<br>
<br>
Any suggestions?<br>
<br>
Cheers<br>
<span><font color="#888888"><br>
Al<br>
<br>
--<br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br></div>