[Vtigercrm-developers] Linux dev environment & symlinks

Prasad prasad at vtiger.com
Tue Apr 24 01:09:22 PDT 2012


Alan,

Something going wrong with path calculation, look at
function checkFileAccess($filepath) ... include/utils/CommonUtils.php
 Regards, Prasad

On Tue, Apr 24, 2012 at 1:25 PM, Alan Lord (News) <alanslists at gmail.com>wrote:

> Hi all,
>
> on my local machine I run Eclipse.
>
> I'm working on some new custom modules for a customer and am trying to
> do have a symlink from the modules directory to my local
> ~/workspace/modulename directory, e.g.
>
> lrwxrwxrwx 1 root     root       49 2012-04-24 08:45 Alerts ->
> /home/alord/workspace/CustomerProject/Alerts/modules/Alerts
>
> But if I do this, I always get the dreaded "Sorry! Attempt to access
> restricted file." message.
>
> But if I *copy* the module directory from my workspace to the /modules
> dir. then my custom module works OK.
>
> I tried setting various permissions on my local files such as
> alord:www-data (or www-data:alord and even www-data:www-data) with
> rw-rw-r on files and rwxrwx-r-x on directories but the symlinks still do
> not work.
>
> My localhost's webserver has FollowSYmlinks set.
>
>
> I'm sure others must have had this problem before...
>
> Any suggestions?
>
> Cheers
>
> Al
>
> --
> Libertus Solutions
> http://www.libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120424/9dc1ad4f/attachment.html 


More information about the vtigercrm-developers mailing list