mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
[FIX] fix create dir permission bug
This commit is contained in:
parent
fbaab17eef
commit
f531c3acd7
@ -291,7 +291,7 @@ func (i *SourceCodeBuildItem) prepare() error {
|
||||
if err := os.RemoveAll(i.CacheDir); err != nil {
|
||||
logrus.Error("remove cache dir error", err.Error())
|
||||
}
|
||||
if err := os.MkdirAll(i.CacheDir, os.ModeDir); err != nil {
|
||||
if err := os.MkdirAll(i.CacheDir, 0755); err != nil {
|
||||
logrus.Error("make cache dir error", err.Error())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user