The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/320

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 1fa79e340bb755e336032250ba430354b80069d2 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Fri, 3 Apr 2020 08:21:28 +0200
Subject: [PATCH] shared/chroot: Fix /dev/shm file mode

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 shared/chroot.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shared/chroot.go b/shared/chroot.go
index 5a375cc..f196d59 100644
--- a/shared/chroot.go
+++ b/shared/chroot.go
@@ -219,7 +219,7 @@ func SetupChroot(rootfs string, envs DefinitionEnv, m 
[]ChrootMount) (func() err
        }
 
        // Change permission for /dev/shm
-       err = unix.Chmod("/dev/shm", 1777)
+       err = unix.Chmod("/dev/shm", 01777)
        if err != nil {
                return nil, errors.Wrap(err, "Failed to chmod /dev/shm")
        }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to