[Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1 kolab-fbview-1.2.0 Permission denied

Gunnar Wrobel wrobel at pardus.de
Wed Jan 7 20:28:04 CET 2009


Quoting ComCept Soliva <soliva at comcept.ch>:

> Hi all
>
> I found the issue. Within the RPM/TMP dir there is the extract source of
> kolab-fbview-1.2.0. Within this source you will find the files without
> permissions:
>
> ----------   1 kolab    kolab          0 Jan  7 14:10
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/storage/.htaccess.or
> ig
> ----------   1 kolab    kolab          0 Jan  7 14:10
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/tmp/.htaccess.orig
> ----------   1 kolab    kolab          0 Jan  7 14:10
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/log/.htaccess.orig
>
> Why it is in this way I do not know. Gunnar any comment?
>
> My workaround is not the best way of course but in this way I can proceed:
>
> # vi /kolab/RPM/SRC/kolab-fbview/kolab-fbview.spec
>
> -------------------- /kolab/RPM/SRC/kolab-fbview/kolab-fbview.spec
> --------------------
>
> %install
>
> chown kolab:kolab
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/storage/.htaccess.or
> ig
> chown kolab:kolab
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/tmp/.htaccess.orig
> chown kolab:kolab
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/log/.htaccess.orig
>
> chmod 644
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/storage/.htaccess.or
> ig
> chmod 644
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/tmp/.htaccess.orig
> chmod 644
> /opt/kolab/RPM/TMP/kolab-fbview-1.2.0/horde-webmail-1.2/log/.htaccess.orig
>
> -------------------- /kolab/RPM/SRC/kolab-fbview/kolab-fbview.spec
> --------------------
>
> # opa /kolab
>
> # /kolab/bin/openpkg rpmbuild -bb
> /kolab/RPM/SRC/kolab-fbview/kolab-fbview.spec
>
> # /kolab/bin/openpkg rpm -Uvh /kolab/RPM/PKG/
>
> # /kolab/bin/openpkg rpm -Uvh
> /kolab/RPM/PKG/kolab-fbview-1.2.0-20081212.sparc64-solaris10-kolab.rpm
>
> Again documentation etc. updated and posted:
>
> http://www.comcept.ch/kolab2/2.2.1-beta1/solaris_10_kolab2_install.txt
>
> kind regards
>
> Andrea
>
> Mail: soliva at comcept.ch
> -----Ursprüngliche Nachricht-----
> Von: ComCept Soliva [mailto:soliva at comcept.ch] Im Auftrag von
> kolab-devel-bounces at kolab.org
> Gesendet: Mittwoch, 7. Januar 2009 14:20
> An: kolab-devel at kolab.org
> Betreff: [Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1
> kolab-fbview-1.2.0 Permission denied
>
> Hi all
>
> I proceeded and runned in the next error:
>
> :::: /tmp/install-kolab....8544/kolab-fbview-1.2.0-20081212.src.rpm ::::
> Installing /tmp/install-kolab....8544/kolab-fbview-1.2.0-20081212.src.rpm
> Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
> -e /kolab/RPM/TMP/rpm-tmp.8672
> + cd /kolab/RPM/TMP
> + set +x
> +----------------------------------Warning----------------------------------
> --+
> | This OpenPKG package is of class JUNK.
> |
> | This means it is still in DEVELOPMENT state.
> |
> | Hence it is still NOT ready even for general evaluation.
> |
> | Do not use it at all, except in development environments!
> |
> | It is definitely unstable and incompletely packaged.
> |
> +---------------------------------------------------------------------------
> --+
> + cd /kolab/RPM/TMP
> + rm -rf kolab-fbview-1.2.0
> + /kolab/lib/openpkg/shtool mkdir -f -p -m 755 kolab-fbview-1.2.0
> + cd kolab-fbview-1.2.0
> + /kolab/lib/openpkg/gzip -dc
> /kolab/RPM/SRC/kolab-fbview/horde-webmail-1.2.tar.gz
> + /kolab/lib/openpkg/tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd horde-webmail-1.2
> + echo 'Patch #0 (horde-webmail-1.2.0_kolab_fbview_openpkg.patch):'
> Patch #0 (horde-webmail-1.2.0_kolab_fbview_openpkg.patch):
> + /kolab/lib/openpkg/patch -p1 -s -b
> + cd ..
> + exit 0
> Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
> -e /kolab/RPM/TMP/rpm-tmp.30962
> + cd /kolab/RPM/TMP
> + cd kolab-fbview-1.2.0
> + exit 0
> Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile
> --posix -e /kolab/RPM/TMP/rpm-tmp.15032
> + cd /kolab/RPM/TMP
> + cd kolab-fbview-1.2.0
> + /kolab/lib/openpkg/shtool install -d
> /kolab/RPM/TMP/kolab-fbview-1.2.0-root/kolab/var/kolab/www/fbview
> + /kolab/lib/openpkg/shtool install -d
> /kolab/RPM/TMP/kolab-fbview-1.2.0-root/kolab/var/kolab/tmp
> + /kolab/lib/openpkg/shtool install -d
> /kolab/RPM/TMP/kolab-fbview-1.2.0-root/kolab/var/kolab/storage
> + /kolab/lib/openpkg/shtool install -d
> /kolab/RPM/TMP/kolab-fbview-1.2.0-root/kolab/etc/kolab/templates
> + cd horde-webmail-1.2
> + find . -name test.php
> + xargs rm
> + find . -name '*.orig'
> + xargs rm
> + rm -rf dimp imp ingo mimp mnemo nag
> + cd kronolith
> + rm add.php day.php view.php delete.php ics.php search.php week.php
> contacts.php imple.php month.php pref_api.php workweek.php edit.php new.php
> year.php attend.php data.php event.php
> + cd ..
> + cp -r COPYING README admin config docs index.php js kronolith lib locale
> log login.php notconfigured.html pear po rpc rpc.php scripts services
> signup.php storage templates themes tmp turba util
> /kolab/RPM/TMP/kolab-fbview-1.2.0-root/kolab/var/kolab/www/fbview/
> cp: cannot open log/.htaccess.orig: Permission denied
> cp: cannot open storage/.htaccess.orig: Permission denied
> cp: cannot open tmp/.htaccess.orig: Permission denied
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.15032 (%install)
>
>
> RPM build errors:
>     Bad exit status from /kolab/RPM/TMP/rpm-tmp.15032 (%install)
> + exit 1
>
>
>
> I had a look to the spec file but I can not find what is going wrong and why
> it failed with Permission denied?
>
> Any hints what can be manipulated that I can proceed?

See https://www.intevation.de/roundup/kolab/issue3318

It has already been fixed in cvs.

Cheers,

Gunnar

>
> Update documentation:
>
> http://www.comcept.ch/kolab2/2.2.1-beta1/solaris_10_kolab2_install.txt
>
> Here the log file for this part of installation:
>
> http://www.comcept.ch/kolab2/2.2.1-beta1/kolab-install-Jan-7-13-35-20.zip
>
> kind regards
>
> Andrea
>
> Mail: soliva at comcept.ch
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/devel/attachments/20090107/ed3ff2d4/attachment.sig>


More information about the devel mailing list