CentOS 5.2 Tutorial question

Discussion in 'Server Operation' started by crossovo, May 28, 2009.

  1. crossovo

    crossovo New Member

    Hello,

    i have a problem with this tutorial: centos-5.2-ispconfig-3

    "Now we go back to the /tmp directory and run rpmbuild again, this time without sudo, otherwise the compilation will fail because it was run as root:

    cd /tmp
    rpmbuild -ta courier-imap-4.4.1.tar.bz2"

    I have not permison on the directory to create? Thanks for help.

    Regards Daniel
     
  2. crossovo

    crossovo New Member

    SNIP:
    rpmbuild -ta courier-imap-4.4.1.tar.bz2

    ...

    rm: cannot remove `courier-imap-4.4.1/unicode/ibm865.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/iso88591.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/ibm864.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/big5.pl': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/windows874u.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/iso88598.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/eucjp.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/gb2312.h': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/windows1252.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/windows1250.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/windows874.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/windows1255.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/windows1257.c': Permission denied
    rm: cannot remove `courier-imap-4.4.1/unicode/ksx1001.c': Permission denied
    Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.89922 (%prep)


    Fehler beim Bauen des RPMS:
    Fehler-Status beim Beenden von /var/tmp/rpm-tmp.89922 (%prep)

    SNAP:

    Thank You!
     
  3. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    ls -la /tmp
    and
    Code:
    getenforce
    ?
     

Share This Page