This commit is contained in:
parent
a12b72654d
commit
e4ad515e7f
|
@ -425,7 +425,7 @@ func getEditorMode(filenameExtension string) string {
|
||||||
func createFile(path, fileType string) bool {
|
func createFile(path, fileType string) bool {
|
||||||
switch fileType {
|
switch fileType {
|
||||||
case "f":
|
case "f":
|
||||||
file, err := os.OpenFile(path, os.O_CREATE, 0664)
|
file, err := os.OpenFile(path, os.O_CREATE, 0775)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
glog.Error(err)
|
glog.Error(err)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue