installing snapshot gives chmod error on Koha log files
Hello, I just now tried to install the most recent snapshot of Koha: Koha-a59c28db3e63f956edffd1e79ab9e9cff3a85dea.tar.gz and get this error (when I do 'make install', the files are being written over the earlier installation): $> make install /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib chmod: changing permissions of `/home/gsq/koha/var/log/koha-error_log': Operation not permitted chmod: changing permissions of `/home/gsq/koha/var/log/koha-opac-error_log': Operation not permitted Am I doing something wrong or is this a bug? thanks, ->HS
H.S. wrote:
Hello,
I just now tried to install the most recent snapshot of Koha: Koha-a59c28db3e63f956edffd1e79ab9e9cff3a85dea.tar.gz
and get this error (when I do 'make install', the files are being written over the earlier installation): $> make install /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib chmod: changing permissions of `/home/gsq/koha/var/log/koha-error_log': Operation not permitted chmod: changing permissions of `/home/gsq/koha/var/log/koha-opac-error_log': Operation not permitted
Am I doing something wrong or is this a bug?
thanks, ->HS
BTW, those two files were owned by root:root. I changed their permission and now they belong to the user (this is a "single" install of Koha and all the installation resides within the user's home directory). So, perhaps the snapshot has wrong permissions of the log files? ->HS
On Tue, Mar 18, 2008 at 11:37 AM, H.S. <hs.samix@gmail.com> wrote:
Hello,
I just now tried to install the most recent snapshot of Koha: Koha-a59c28db3e63f956edffd1e79ab9e9cff3a85dea.tar.gz
and get this error (when I do 'make install', the files are being written over the earlier installation): $> make install /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib chmod: changing permissions of `/home/gsq/koha/var/log/koha-error_log': Operation not permitted chmod: changing permissions of `/home/gsq/koha/var/log/koha-opac-error_log': Operation not permitted
Am I doing something wrong or is this a bug? I've seen this happen with a make upgrade too. The workaround I've used is to delete the koha-* log files. Maybe Galen has an alternative solution?
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Joshua Ferraro wrote:
On Tue, Mar 18, 2008 at 11:37 AM, H.S. <hs.samix@gmail.com> wrote:
Hello,
I just now tried to install the most recent snapshot of Koha: Koha-a59c28db3e63f956edffd1e79ab9e9cff3a85dea.tar.gz
and get this error (when I do 'make install', the files are being written over the earlier installation): $> make install /usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib chmod: changing permissions of `/home/gsq/koha/var/log/koha-error_log': Operation not permitted chmod: changing permissions of `/home/gsq/koha/var/log/koha-opac-error_log': Operation not permitted
Am I doing something wrong or is this a bug? I've seen this happen with a make upgrade too. The workaround I've used is to delete the koha-* log files. Maybe Galen has an alternative solution?
Cheers,
BTW, when 'make install' gave this error, I just changed the ownership of the log files and did nothing else. Was there anything else the 'make install' was supposed to after it gave that error (i.e. did it end prematurely)? Should I have run 'make install' again to let it complete this time? ->HS
participants (2)
-
H.S. -
Joshua Ferraro