dice icon indicating copy to clipboard operation
dice copied to clipboard

Fixes aof file permission with arbitrary user

Open rohanverma94 opened this issue 3 years ago • 1 comments

Due to misconfigured file permissions for the AOF file, the command BGREWRITEAOF only works once and successive BGREWRITEAOF fails with an error message on the server console. This commit fixes it and uses the correct & appropriate operation mode flags for underlying system calls.

Fixes https://github.com/DiceDB/dice/issues/90

rohanverma94 avatar Nov 09 '22 14:11 rohanverma94

@rohanverma94 This change is conflicting atm. The code base has moved forward lot. Please rebase and re-submit if you are still keen to fix this. We will be cleaning up old PR's if they are inactive. Thanks

yashs360 avatar Jul 14 '24 10:07 yashs360

I'm occupied with some stuff. I would've resumed this work otherwise. Meanwhile feel free to close this or may be raise new PR.

rohanverma94 avatar Jul 24 '24 08:07 rohanverma94