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 `-
signature.asc
Description: PGP signature