[Lxr-general] Re : Error "Permission denied at /usr/local/share/lxr/lib/LXR/Config.pm line 1306"
Brought to you by:
ajlittoz
|
From: andre-littoz <pag...@ya...> - 2015-06-14 05:31:25
|
Hi,
That's a classical access right issue. When you launch your browser, you're asking Apache to do the job. At that time, the Apache daemon is in control, not yourself, i.e. userid apache (or www, ... depending on the distro) not userid yaronct. Consequently, you must make sure that every directory on path /home/yaronct/glimpse_DB is readable by everybody, i.e. permissions contain ******r-x at least (**5) -- * stand for the settings for user and group.
You may also stumble into a SELinux access denial if SELinux mode is "enforcing". See that Apache is allowed to access user home directory in SELinux configuration. If this is not an issue for you, you may test the case by temporarily switching to "permissive" mode.
Please give feedback.
André
--------------------------------------------
En date de : Sam 13.6.15, Yaron Cohen-Tal <ya...@gm...> a écrit :
Objet: [Lxr-general] Error "Permission denied at /usr/local/share/lxr/lib/LXR/Config.pm line 1306"
À: lxr...@li...
Date: Samedi 13 juin 2015, 22h57
Hi,
I've tried to install LXR according to the
instructions here
and here.
I followed the instructions step by step, always choosing
the default (specifically I chose MySQL, Apache and
Glimpse). When I try to open "http://localhost/lxr/source"
in
my browser (Firefox) I get the following:
** Fatal
**mkdir /home/yaronct/glimpse_DB: Permission denied at
/usr/local/share/lxr/lib/LXR/Config.pm line
1306.("/home/yaronct/glimpse_DB" is the
directory I entered as the answer to "Directory for
glimpse databases?" in the LXR configurator). I'm
running Debian 8.1. Any help would be appreciated.
Yaron.
|