February 6, 2003
Hello ,

   I use an unprivileged user named rpmmaker to build rpms.  I have
   suddenly been presented with this error after having built quite a
   few rpms before:
-------------------------------------------------------------------------------------------------------
   bash-2.05$ rpm -ba store-1.0.spec
              The rpm builds but gives me this output...
   
+ rm -rf /var/tmp/store-1.0-03_cdj-buildroot
rm: cannot remove directory 
`/var/tmp/store-1.0-03_cdj-buildroot/etc/e-smith/web/panels/manager': Permission denied
rm: cannot remove directory 
`/var/tmp/store-1.0-03_cdj-buildroot/etc/e-smith/web/panels': Directory not empty
rm: cannot unlink 
`/var/tmp/store-1.0-03_cdj-buildroot/etc/e-smith/web/functions/shopadmin': Permission 
denied
rm: cannot remove directory 
`/var/tmp/store-1.0-03_cdj-buildroot/etc/e-smith/web/functions': Directory not empty
rm: cannot remove directory `/var/tmp/store-1.0-03_cdj-buildroot/etc/e-smith/web': 
Directory not empty
rm: cannot remove directory `/var/tmp/store-1.0-03_cdj-buildroot/etc/e-smith': 
Directory not empty
rm: cannot remove directory `/var/tmp/store-1.0-03_cdj-buildroot/etc': Directory not 
empty
rm: cannot remove directory `/var/tmp/store-1.0-03_cdj-buildroot': Directory not empty
error: Bad exit status from /var/tmp/rpm-tmp.99569 (%clean)   

At the same time I have been using the -bp option for quite some time
to build the dirs with no problem and get this now (unless I manually
remove the files/dirs):
-------------------------------------------------------------------------------------------------------
bash-2.05$ rpm -bp store-1.0.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.55219
+ umask 022
+ cd /home/e-smith/files/users/rpmmaker/rpms/BUILD
+ cd /home/e-smith/files/users/rpmmaker/rpms/BUILD
+ rm -rf store-1.0
rm: cannot remove directory `store-1.0/root/etc/e-smith/web/panels/manager': 
Permission denied
rm: cannot remove directory `store-1.0/root/etc/e-smith/web/panels': Directory not 
empty
rm: cannot unlink `store-1.0/root/etc/e-smith/web/functions/shopadmin': Permission 
denied
rm: cannot remove directory `store-1.0/root/etc/e-smith/web/functions': Directory not 
empty
rm: cannot remove directory `store-1.0/root/etc/e-smith/web': Directory not empty
rm: cannot remove directory `store-1.0/root/etc/e-smith': Directory not empty
rm: cannot remove directory `store-1.0/root/etc': Directory not empty
rm: cannot remove directory `store-1.0/root': Directory not empty
rm: cannot remove directory `store-1.0': Directory not empty
error: Bad exit status from /var/tmp/rpm-tmp.55219 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.55219 (%prep)
-------------------------------------------------------------------------------------------------------
    Nothing that I can think of has changed in the .spec or in my
    users permissions... anyone see something obvious?

-- 
Regards,
 Craig D. Jensen               mailto:[EMAIL PROTECTED]



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to