DiceDB doesn't create AOF file with required permission
Describe the bug dice-master.aof file created by DiceDB doesn't seem to have the required permission, if the file doesn't already exists. It therefore can't write to the file in its next run.
ls -al dice-master.aof
---------- 1 chand chand 0 Nov 9 18:47 dice-master.aof
In case file already exists (touch dice-master.aof) it doesn't change permissions.
To Reproduce Steps to reproduce the behavior:
- Make sure dice-master.aof file doesn't exists
- Run
go run main.go - Shut down server
- Run
ls -al dice-master.aof
Expected behavior File should be created with default permissions 0644 (rw-r-r).
Additional context go version : go version go1.18.1 linux/amd64 running on wsl2
@keshavchand do you want to take this up? I can right away assign.
AOF implementation wrap-up for pending TODOs, coming in a while!
Is this still open? I can take it up if it is.
Is this still open? I can take it up if it is.
Assigned