[Koha-devel] [Bug 158] New: FreeBSD 5.0 depricates chown [user].[group] breaking installer.pm

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Tue Jan 14 14:02:05 CET 2003


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=158

           Summary: FreeBSD 5.0 depricates chown [user].[group] breaking
                    installer.pm
           Product: Koha
           Version: CVS
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Installation
        AssignedTo: tonnesen at cmsd.bc.ca
        ReportedBy: micheas at micheas.dyns.net
         QAContact: koha-devel at lists.sourceforge.net


In order to support '.' in user names FreeBSD has dropped Support for '.' as a
seperator in chown.  Only the ':' colon must be used. (chown [user]:[group] [file])

This may effect Mac os/X as well. (It almost certainly will in the futur.)


This affects the folloeing files an lines

Install.pm:    system("chown -R root.$::httpduser $::opacdir");
Install.pm:    system("chown -R root.$::httpduser $::intranetdir");
koha.upgrade:system("chown -R root.$httpduser $::opacdir");
koha.upgrade:system("chown -R root.$httpduser $::intranetdir");

which I belive need changed to:
Install.pm:    system("chown -R root:$::httpduser $::opacdir");
Install.pm:    system("chown -R root:$::httpduser $::intranetdir");
koha.upgrade:system("chown -R root:$httpduser $::opacdir");
koha.upgrade:system("chown -R root:$httpduser $::intranetdir");


Thamks,
Micheas



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Koha-devel mailing list