[Koha-devel] Major surprise - "automatic" upgrade
Paul
paul.a at aandc.org
Wed May 8 02:05:35 CEST 2013
At 11:03 AM 5/8/2013 +1200, Robin Sheat wrote:
>Paul schreef op di 07-05-2013 om 12:18 [-0400]:
> > Respectfully, no. Where did the "newer code" come from without
> > running
> > Makefile.pl, make, make install as a "sudoer"? I was simply running
> > cleanup_database.pl as user=koha without sudo privileges.
>
>Out of curiosity, is the code in /usr/share/koha owned by root or by
>koha? If by root, then this is simply impossible barring a hyuuge
>security issue in Linux. If by koha, well that's bad configuration, but
>doesn't address the issue as a whole.
A bit of a mix:
drwxr-xr-x 8 koha koha 4096 Oct 11 2012 bin
drwxr-xr-x 3 koha koha 4096 Sep 22 2012 doc
drwxr-xr-x 5 root root 4096 Sep 22 2012 intranet
drwxr-xr-x 4 koha koha 4096 Sep 22 2012 lib
drwxr-xr-x 3 koha koha 4096 Sep 22 2012 man
drwxr-xr-x 3 koha koha 4096 May 7 14:26 misc
drwxr-xr-x 4 root root 4096 Sep 22 2012 opac
>In your earlier post, you didn't show us the version immediately before
>running cleanup, or at least, it was unclear. You showed it, did some
>other stuff, and then ran clean up. You need to look at kohaversion.pl
>_immediately_ before, and _immediately_ after. Otherwise any one of the
>other steps could have been involved.
Agreed ... Over the next few days, I'll restore everything from a previous
back up, and do it again.
Thanks for the suggestions - best regards - Paul
More information about the Koha-devel
mailing list