[#1320] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
d99800ee93
commit
cc7a723d77
182 changed files with 802 additions and 802 deletions
|
@ -2,8 +2,8 @@ package util
|
|||
|
||||
import "os"
|
||||
|
||||
// MkdirAllX calls os.MkdirAll with passed permissions
|
||||
// but with +x for user and group. This makes created
|
||||
// MkdirAllX calls os.MkdirAll with the passed permissions
|
||||
// but with +x for a user and a group. This makes the created
|
||||
// dir openable regardless of the passed permissions.
|
||||
func MkdirAllX(path string, perm os.FileMode) error {
|
||||
return os.MkdirAll(path, perm|0110)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue