mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2026-05-13 23:29:19 -05:00
[skip ci] Fix: Wrong file permission for database file store (#240)
* fix: wrong file permission for database file store * sign cla
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"contributors": ["azukaar", "jwr1", "Jogai", "InterN0te", "catmandx", "revam", "Kawanaao"],
|
||||
"contributors": ["azukaar", "jwr1", "Jogai", "InterN0te", "catmandx", "revam", "Kawanaao", "george-radu-cs"],
|
||||
"message": "We require contributors to sign our [Contributor License Agreement](https://github.com/azukaar/Cosmos-Server/blob/master/cla.md). In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA."
|
||||
}
|
||||
|
||||
+2
-2
@@ -130,7 +130,7 @@ var embeddedClientClose func()
|
||||
|
||||
func GetEmbeddedCollection(applicationId string, collection string) (lungo.ICollection, func(), error) {
|
||||
opts := lungo.Options{
|
||||
Store: lungo.NewFileStore(CONFIGFOLDER + "database", 700),
|
||||
Store: lungo.NewFileStore(CONFIGFOLDER + "database", 0700),
|
||||
}
|
||||
|
||||
name := os.Getenv("MONGODB_NAME"); if name == "" {
|
||||
@@ -373,4 +373,4 @@ func initDB() {
|
||||
return // Handle error appropriately
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user