From 606d7e9b5b4d3c59437201d157e4dc9b2b15cabb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 20 Sep 2011 09:08:51 -0400 Subject: [PATCH] Change the mode of new directories from 644 to 755 --- src/paths.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paths.go b/src/paths.go index 859c8f2..417828d 100644 --- a/src/paths.go +++ b/src/paths.go @@ -101,5 +101,5 @@ func MakeDir(target string) os.Error { if !checkInJail(target) { return os.NewError("Path outside of jail") } - return os.Mkdir(target, 0644) + return os.Mkdir(target, 0755) } -- 2.43.5