Bug#666525: pbuilder fails to create directory under ccash when run with sudo

Praveen A pravi.a at gmail.com
Sat Mar 31 13:49:00 UTC 2012


package: pbuilder
severity: normal
version: 0.210

It was working properly earlier before I updated it two days back. Now
it works if I use su instead of sudo. It failed a few times.

error I get is
ccache: FATAL: Failed to create
/media/forge/debian/pbuilder/ccache/0/3: Permission denied

my .pbuilderrc is

BASETGZ=/media/forge/debian/pbuilder/sid-base.tgz
BUILDPLACE=/media/forge/debian/pbuilder/build
CCACHEDIR=/media/forge/debian/pbuilder/ccache
BASEPATH=/media/forge/debian/pbuilder/base.cow
COWBUILDER_BASE=/media/forge/debian/pbuilder/
DISTRIBUTION=sid
BUILDRESULT=/media/forge/debian/pbuilder/results
APTCACHE=/media/forge/debian/pbuilder/aptcache
AUTOCLEANAPTCACHE=yes

/dev/sdb2 on /media/forge type ext3
(rw,nosuid,relatime,errors=continue,barrier=1,data=ordered,uhelper=udisks)

It is on an external usb drive.
-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.





More information about the Pbuilder-maint mailing list