Bug#420458: pbuilder: if BUILDRESULT is created, it's owned by root:root
Mattia Rizzolo
mattia at mapreri.org
Sun Nov 15 18:23:49 UTC 2015
On Sun, Apr 22, 2007 at 03:16:42PM +0200, Andreas Beckmann wrote:
> if the BUILDRESULT directory is missing, it's created with ownership
> set to root:root. That's inconvenient because I have to become root to
> get rid of this directory.
>
> Since the .debs etc. are being chowned to me, it shouldn't be too
> difficult to fix the ownership of the buildresult directory (but only if
> it had been created by pbuilder).
I locally have a git stash with
f [ ! -d "${BUILDRESULT}" ]; then
if [ -n "${BUILDRESULT}" ] ; then
mkdir -p "${BUILDRESULT}"
+ chown "${BUILDRESULTUID}:${BUILDRESULTGID}" "${BUILDRESULT}"
fi
which does the trick, but
> Note: it's possible to create multiple directory levels and all should
> be owned properly by me.
erm, I sincerely have no clue on how to do this without getting mad by
doing the job of the -p switch manually.
Suggestion?
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151115/55774f77/attachment.sig>
More information about the Pbuilder-maint
mailing list