fix file perms

This commit is contained in:
Christoph Polcin committed 2014-10-24 09:29:03 +02:00
1 parent 544a4735b6
commit c23fd5a8be
1 file changed
+3 -2
+3 -2
View File
@@ -23,10 +23,11 @@ func (f File) Size() int64 {
}
func (f File) Mode() os.FileMode {
// TODO check webdav perms
if f.isdir {
return 0777 | os.ModeDir
return 0775 | os.ModeDir
} else {
return 0622
return 0664
}
}