[Loris-dev] (no subject)

Melanie Legault, Mrs melanie.legault2 at mcgill.ca
Mon Aug 16 14:11:17 EDT 2021


What is the ownership and permission of the /path/to/Loris/ directory and subdir?

Apache need to be able to read everything and write to the ../project and ../smarty directory.
Usually, the group ownership is set to apache (httpd or apache depending on OS)
with read permission for the group everywhere and write permission on the 2 dir above.

Mélanie

________________________________
From: loris-dev-bounces at bic.mni.mcgill.ca <loris-dev-bounces at bic.mni.mcgill.ca> on behalf of Cartik Sharma <cartik.sharma at gmail.com>
Sent: August 16, 2021 13:45
To: Dave MacFarlane <dave.macfarlane at mcin.ca>
Cc: loris-dev <loris-dev at bic.mni.mcgill.ca>; Samir Das <samirdas99 at gmail.com>
Subject: Re: [Loris-dev] (no subject)

I'm using ssh csharma at login.acelab.ca through my ldap account to
access cobra-lab-dev.loris.ca

Best regards,
Cartik

On Mon, Aug 16, 2021 at 1:43 PM Dave MacFarlane <dave.macfarlane at mcin.ca> wrote:
>
> Hi Cartik,
>
> I'm not seeing anywhere in the code for installdb.php that can return a 403 error. Are you sure there's not some kind of proxy/firewall/VPN/etc in front of your LORIS instance preventing you from accessing it?
>
> - Dave
>
> On Mon, Aug 16, 2021 at 1:30 PM Cartik Sharma <cartik.sharma at gmail.com> wrote:
>>
>> hi Samir,
>>
>> This seems to work.
>>
>> However when I try to launch 132.206.37.11/installdb.php
>>
>> I get an error: 403 access denied.
>>
>> Best regards,
>> Cartik
>>
>> On Mon, Aug 16, 2021 at 12:08 PM Samir Das <samirdas99 at gmail.com> wrote:
>>>
>>> Hi Cartik,
>>>
>>> This is one directory that needs to be there to write temporary template files to, and you just need to change the permissions to 775 (or maybe even 777) and all should work.
>>>
>>> Best,
>>>
>>> Samir Das
>>>
>>> On Mon, Aug 16, 2021 at 12:05 PM Cartik Sharma <cartik.sharma at gmail.com> wrote:
>>>>
>>>> Dear all,
>>>>
>>>> I'm getting this error while running make dev in the Loris directory.
>>>>
>>>> npm run compile
>>>>
>>>>     ERROR in EACCES: permission denied, scandir
>>>> '/home/lorisadmin/Loris/smarty/templates_c'
>>>>
>>>> templates_c is an empty directory.
>>>>
>>>> Any suggestions, please let me know.
>>>> Best regards,
>>>> Cartik Sharma
>>>> about.me/sharmacartik
>>>> _______________________________________________
>>>> Loris-dev mailing list
>>>> Loris-dev at bic.mni.mcgill.ca
>>>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>>
>>> _______________________________________________
>>> Loris-dev mailing list
>>> Loris-dev at bic.mni.mcgill.ca
>>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>>
>>
>>
>> --
>> Cartik Sharma
>> about.me/sharmacartik
>> _______________________________________________
>> Loris-dev mailing list
>> Loris-dev at bic.mni.mcgill.ca
>> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev



--
Cartik Sharma
about.me/sharmacartik
_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca
https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210816/fcbd49bc/attachment.html>


More information about the Loris-dev mailing list