fix create user workspace failed in linux

This commit is contained in:
codeskyblue 2014-11-12 10:41:27 +08:00
parent bc08796f68
commit 44bdcb9fb5
1 changed files with 1 additions and 1 deletions

View File

@ -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)