All of lore.kernel.org
 help / color / mirror / Atom feed
* [xfstests-bld PATCH] setup-buildchroot: make sure chroot dir is given mode 0755
@ 2021-12-23 23:47 Eric Biggers
  2021-12-24  4:02 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2021-12-23 23:47 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: fstests

From: Eric Biggers <ebiggers@google.com>

Make setup-buildchroot work when the umask is set to 0077.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 setup-buildchroot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-buildchroot b/setup-buildchroot
index cdeb7fd..6c87d4d 100755
--- a/setup-buildchroot
+++ b/setup-buildchroot
@@ -569,7 +569,7 @@ run_in_chroot()
 
 create_chroot()
 {
-    mkdir -p "$CHROOT_DIR"
+    mkdir -p -m0755 "$CHROOT_DIR"
 
     test -z "${PROXY}" || export http_proxy=${PROXY}
     if ! run_cmd debootstrap --arch "$DEBIAN_ARCH" ${QEMU:+--foreign} \
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [xfstests-bld PATCH] setup-buildchroot: make sure chroot dir is given mode 0755
  2021-12-23 23:47 [xfstests-bld PATCH] setup-buildchroot: make sure chroot dir is given mode 0755 Eric Biggers
@ 2021-12-24  4:02 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2021-12-24  4:02 UTC (permalink / raw)
  To: Eric Biggers; +Cc: fstests

On Thu, Dec 23, 2021 at 05:47:59PM -0600, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> Make setup-buildchroot work when the umask is set to 0077.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Thanks, applied.

					- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-24  4:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-23 23:47 [xfstests-bld PATCH] setup-buildchroot: make sure chroot dir is given mode 0755 Eric Biggers
2021-12-24  4:02 ` Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.