summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-01 10:54:15 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-01 10:54:15 -0400
commit1f059502dcd02a676b792f2ccf16237b5089fc35 (patch)
tree11382ff60434d59a41e1fefdb33eb92d14c3f081
parent01a516b584763f89d039ccf52ce098f29fec2444 (diff)
parent48c98c92c8aa810b1931ecdf01082cc8316743ed (diff)
downloadgitea-1f059502dcd02a676b792f2ccf16237b5089fc35.tar.gz
gitea-1f059502dcd02a676b792f2ccf16237b5089fc35.zip
Merge branch 'master' of github.com:gogits/gogs into dev
-rw-r--r--routers/repo/download.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/download.go b/routers/repo/download.go
index ac9c390b1f..7e20b0e095 100644
--- a/routers/repo/download.go
+++ b/routers/repo/download.go
@@ -58,7 +58,7 @@ func ZipDownload(ctx *middleware.Context, params martini.Params) {
commitId := ctx.Repo.CommitId
archivesPath := filepath.Join(ctx.Repo.GitRepo.Path, "archives/zip")
if !com.IsDir(archivesPath) {
- if err := os.MkdirAll(archivesPath, 0655); err != nil {
+ if err := os.MkdirAll(archivesPath, 0755); err != nil {
ctx.Handle(500, "ZipDownload -> os.Mkdir(archivesPath)", err)
return
}