I set up lxr twice on my machine and everything was perfect the first tim=
e. The second time however, even though i installed perfectly, i get an e=
rror 'bash: Permission denied', everytime i try to run /var/www/html/lxr/=
Why is that ???
Joel Dsa wrote:
> I set up lxr twice on my machine and everything was perfect the first time. The second time however, even though i installed perfectly, i get an error 'bash: Permission denied', everytime i try to run /var/www/html/lxr/bin/genxref /usr/src/linux
> Why is that ???
There are two possibilities that I can think of - either the script
/var/www/html/lxr/bin/genxref does not have the correct permissions to
allow your userid to access it, or some file under /usr/src/linux does
not have read access to your user. To check if the permissions are ok
on genxref, use ls -l and check that either (a) you own the script and
the user permissions are r-x, or that your group owns the script and the
group permissions are r-x, or that all users (others) have r-x
You can see if some file under /usr/src/linux is causing the problem by
looking at the output of 'strace genxref /usr/src/linux'. This shows
the system calls being made, and should show you what file access is
The final possible reason (though unlikely) is that your copy of genxref
comes from a windows machine, and thus the line endings are wrong. If
'perl /var/www/html/lxr/bin/genxref /usr/src/linux' works but executing
it at as command doesn't then this is a likely cause.
Get latest updates about Open Source Projects, Conferences and News.