Use fsx package and friends from pkglib
This commit is contained in:
parent
1f8c55da7c
commit
0f6803f890
35 changed files with 91 additions and 493 deletions
|
|
@ -6,7 +6,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
||||
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
|
||||
"github.com/tkw1536/pkglib/fsx/umaskfree"
|
||||
)
|
||||
|
||||
type SQL struct {
|
||||
|
|
@ -50,7 +50,7 @@ func (sql *SQL) Stack() component.StackWithResources {
|
|||
"HTTPS_ENABLED": sql.Config.HTTP.HTTPSEnabledEnv(),
|
||||
},
|
||||
|
||||
MakeDirsPerm: fsx.DefaultDirPerm,
|
||||
MakeDirsPerm: umaskfree.DefaultDirPerm,
|
||||
MakeDirs: []string{
|
||||
"data",
|
||||
"imports",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue