[Koha] Koha install script error

MJ Ray mjr at phonecoop.coop
Sun Jan 15 06:57:45 NZDT 2012


Mason James <mtj at kohaaloha.com>
> On 2012-01-12, at 10:54 AM, Scott Kushner wrote:
> > Hi...anyone seen this before? Getting this error on GIT (DEV) install on Debian Squeeze 32 using Install.Debian instructions by Magnus Enger..thx.
> >  
> > (13)Permission denied: /root/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
> 
> my hunch, some missing 'execute' permissions on your Koha files/dirs?
> 
> http://blog.wains.be/2007/07/19/htaccess-pcfg_openfile-unable-to-check-htaccess-file-ensure-it-is-readable/

If it is that, it is only missing execute permission on the top Koha dir,
or a dir above it.

You absolutely do not want to chmod -R and set execute permission on all
files.  (That may be how an executable htaccess file snuck into Koha
master development version at one point.)

Just chmod ugo+x path/to/koha/top should work.  If it's really all dirs,
then: find path/to/koha/top -type d -print0 | xargs -0 chmod ugo+x
should fix it I think.

Hope that helps,
-- 
MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op.
http://koha-community.org supporter, web and library systems developer.
In My Opinion Only: see http://mjr.towers.org.uk/email.html
Available for hire (including development) at http://www.software.coop/


More information about the Koha mailing list