View Single Post
  #3  
Old 30th October 2010, 19:00
Nachogrande Nachogrande is offline
Junior Member
 
Join Date: Oct 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, I thought I saw where we were going with this, most of the files were owned by root, so I did a chown -R on that directory, and re-ran the rpmbuild -ta command on the imap file.. Here is what I get:

Code:
rm: cannot remove `courier-imap-4.8.1/rfc2045/testsuite.txt.noidn': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/makemime.1': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/base64.h': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045acchk.c': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/base64.c': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045acprep.c': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045decodemimesectionu.c': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045header.c': Permission denied
rm: cannot remove `courier-imap-4.8.1/rfc2045/makemime.c': Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.oTwkRU (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.oTwkRU (%prep)
[compileuser@linsrv downloads]$ ls -l /var/tmp
total 64
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:45 rpm-tmp.cR7RI2
-rw------- 1 root        root        3645 2010-10-29 14:34 rpm-tmp.EAKuDS
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:25 rpm-tmp.i2Tjqp
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:43 rpm-tmp.jXiPSs
-rw------- 1 root        root        2476 2010-10-29 16:24 rpm-tmp.keNm3H
-rw------- 1 root        root        3645 2010-10-29 15:13 rpm-tmp.kZdqr9
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:42 rpm-tmp.LZiKKX
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:50 rpm-tmp.oTwkRU
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:40 rpm-tmp.q3Qjt7
-rw------- 1 compileuser compileuser 2476 2010-10-30 09:41 rpm-tmp.qsJ0t6
-rw------- 1 root        root        2476 2010-10-29 16:29 rpm-tmp.qZAMSF
-rw------- 1 compileuser compileuser 6085 2010-10-29 16:20 rpm-tmp.UK4wcF
drwx------ 2 compileuser compileuser 4096 2010-10-29 15:07 yum-compileuser-l4jaUy
drwx------ 3 Rooster     Rooster     4096 2010-10-01 23:35 yum-Rooster-hf4FCN
drwx------ 3 trin        trin        4096 2010-10-20 18:45 yum-trin-bO_5e7
[compileuser@linsrv downloads]$
There are several hundred lines of that, I just snipped it.. So I check the /var/tmp folder, and sure enough as you can see, the tmp folder it complains about IS owned by compileuser.

Additionally:
Code:
[compileuser@linsrv downloads]$ ls -l
total 17708
-rw-rw-r-- 1 compileuser compileuser 7107206 2010-10-11 18:24 courier-0.65.1.20101011.tar.bz2
-rw-rw-r-- 1 compileuser compileuser 2817119 2009-12-29 18:51 courier-authlib-0.63.0.tar.bz2
-rw-rw-r-- 1 compileuser compileuser 3352500 2010-10-04 16:47 courier-imap-4.8.1.tar.bz2
-rw-rw-r-- 1 compileuser compileuser 2422151 2010-10-04 16:44 maildrop-2.5.1.tar.bz2
-rw-rw-r-- 1 compileuser compileuser 2422151 2010-10-04 16:44 maildrop-2.5.1.tar.bz2.1
[compileuser@linsrv downloads]$
the files in the downloads are also owned by compileuser.. Though, the top four files in that list are red, and the 5th (maildrop) is black, in the filename portion..

Help? FWIW - I have tried it numerous times, I was chmod'ing the /var/tmp folder it complained about to compileuser and re-running to no avail. That was when I finally noticed after copy/pasting the /tmp directory that it was making new folders, and that they DID have what I think to be proper ownership.


Thanks!
Reply With Quote