Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-config
Commits
00e026ac
Commit
00e026ac
authored
Jun 03, 2020
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove group permissions
There's no reason to give the group access to these files by default.
parent
5527ea02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
serialize/serialize.go
serialize/serialize.go
+2
-2
No files found.
serialize/serialize.go
View file @
00e026ac
...
...
@@ -35,12 +35,12 @@ func ReadConfigFile(filename string, cfg interface{}) error {
// WriteConfigFile writes the config from `cfg` into `filename`.
func
WriteConfigFile
(
filename
string
,
cfg
interface
{})
error
{
err
:=
os
.
MkdirAll
(
filepath
.
Dir
(
filename
),
07
7
5
)
err
:=
os
.
MkdirAll
(
filepath
.
Dir
(
filename
),
07
5
5
)
if
err
!=
nil
{
return
err
}
f
,
err
:=
atomicfile
.
New
(
filename
,
06
6
0
)
f
,
err
:=
atomicfile
.
New
(
filename
,
06
0
0
)
if
err
!=
nil
{
return
err
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment