Skip to content

Commit

Permalink
Merge pull request #12089 from tangcong/automated-cherry-pick-of-#119…
Browse files Browse the repository at this point in the history
…97-origin-release-3.4

Automated cherry pick of #11997
  • Loading branch information
gyuho authored Jul 6, 2020
2 parents 32583af + 0207d1d commit a8454e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fileutil/fileutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func CheckDirPermission(dir string, perm os.FileMode) error {
}
dirMode := dirInfo.Mode().Perm()
if dirMode != perm {
err = fmt.Errorf("directory %q exist without desired file permission. %q", dir, dirInfo.Mode())
err = fmt.Errorf("directory %q,%q exist without desired file permission %q.", dir, dirInfo.Mode(), os.FileMode(PrivateDirMode))
return err
}
return nil
Expand Down

0 comments on commit a8454e4

Please sign in to comment.