close #18; fix #30 bug but does not add the tooltip

This commit is contained in:
Henrique Dias
2016-10-01 13:55:55 +01:00
parent 98192fdbf9
commit 528f47b68e
3 changed files with 57 additions and 45 deletions

View File

@@ -242,9 +242,9 @@ func newDirectory(w http.ResponseWriter, r *http.Request, c *config.Config) (int
var err error
if extension == "" {
err = os.MkdirAll(path, 0755)
err = os.MkdirAll(path, 0775)
} else {
err = ioutil.WriteFile(path, []byte(""), 0755)
err = ioutil.WriteFile(path, []byte(""), 0775)
}
if err != nil {