Skip to content

Commit

Permalink
Fix(perm): Change directory permissions to 0750. (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Grover <[email protected]>
  • Loading branch information
rahulgrover99 authored May 4, 2021
1 parent 7ba1cc8 commit 313b940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/xfs/xfs_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 313b940

Please sign in to comment.