[Koha-bugs] [Bug 9754] New: koha-remove does not remove the stuff in /var/lib/koha/

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 6 13:55:52 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9754

            Bug ID: 9754
           Summary: koha-remove does not remove the stuff in
                    /var/lib/koha/
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Packaging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at enger.priv.no
                CC: robin at catalyst.net.nz

While testing something else, I have created and removed quite a number of
instances on the same server. By chance I discovered that removing instances
has not removed the instance-specific direcories below /var/lib/koha/, and the
permissions on these directories are completely off:

$ ls -l /var/lib/koha/
total 44
drwxr-xr-x 4 test-koha  test-koha  4096 2012-11-21 15:59 buskfylk
drwxr-xr-x 4 norge-koha norge-koha 4096 2012-12-09 21:14 esme
drwxr-xr-x 4 test1-koha test1-koha 4096 2012-11-09 14:15 marc21
drwxr-xr-x 4       1005       1005 4096 2012-12-28 13:00 munka21
drwxr-xr-x 4 norge-koha norge-koha 4096 2013-03-05 17:54 mytest
drwxr-xr-x 4 usa-koha   usa-koha   4096 2013-03-06 11:12 norge
drwxr-xr-x 4 usa-koha   usa-koha   4096 2012-12-10 18:47 normarc
drwxr-xr-x 4 norge-koha norge-koha 4096 2011-12-03 18:13 sksk
drwxr-xr-x 4 test-koha  test-koha  4096 2012-12-10 08:36 test
drwxr-xr-x 4 test1-koha test1-koha 4096 2013-03-05 17:54 test1
drwxr-xr-x 4 usa-koha   usa-koha   4096 2013-03-06 13:17 usa

The prmissions for test and test1 are OK, the others are not. 

I created an instance called "norge", then removed it and created it again. As
a result of the situation above I now get a permission error when I try to
re-index Zebra for this instance, but I still get hits from the previous
incarnation of the instance, presumably because the indexes etc are still
there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list