Skip to content

Commit 313b940

Browse files
Fix(perm): Change directory permissions to 0750. (#9)
Signed-off-by: Rahul Grover <[email protected]>
1 parent 7ba1cc8 commit 313b940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/xfs/xfs_util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func xfsTempMount(device string) error {
3939

4040
// create a temporary directory to mount the xfs file system
4141
tmpdir := "/tmp/" + volname
42-
err = os.Mkdir(tmpdir, 0755)
42+
err = os.Mkdir(tmpdir, 0750)
4343
if os.IsNotExist(err) {
4444
klog.Errorf("xfs: failed to create tmpdir %s error: %s", tmpdir, err.Error())
4545
return err

0 commit comments

Comments
 (0)