Merge pull request #148 from codeskyblue/master
fix create user workspace failed in linux
This commit is contained in:
commit
a12b72654d
|
@ -331,7 +331,7 @@ func UpdateCustomizedConf(username string) {
|
|||
|
||||
wd := util.OS.Pwd()
|
||||
dir := filepath.Clean(wd + "/static/user/" + u.Name)
|
||||
if err := os.MkdirAll(dir, 0664); nil != err {
|
||||
if err := os.MkdirAll(dir, 0755); nil != err {
|
||||
glog.Error(err)
|
||||
|
||||
os.Exit(-1)
|
||||
|
|
Loading…
Reference in New Issue