[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:
George Radu
2024-04-15 15:58:42 +03:00
committed by GitHub
parent 1a50f24656
commit 31c7e6236f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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
}
}
}
}