From 313b94072bf4ffa54b80de19b41e12bf5288050e Mon Sep 17 00:00:00 2001 From: Rahul Grover Date: Tue, 4 May 2021 21:03:43 +0530 Subject: [PATCH] Fix(perm): Change directory permissions to 0750. (#9) Signed-off-by: Rahul Grover --- pkg/xfs/xfs_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/xfs/xfs_util.go b/pkg/xfs/xfs_util.go index 3898682..0d96d45 100644 --- a/pkg/xfs/xfs_util.go +++ b/pkg/xfs/xfs_util.go @@ -39,7 +39,7 @@ func xfsTempMount(device string) error { // create a temporary directory to mount the xfs file system tmpdir := "/tmp/" + volname - err = os.Mkdir(tmpdir, 0755) + err = os.Mkdir(tmpdir, 0750) if os.IsNotExist(err) { klog.Errorf("xfs: failed to create tmpdir %s error: %s", tmpdir, err.Error()) return err