Closed george-radu-cs closed 5 months ago
We require contributors to sign our Contributor License Agreement. 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.
Thanks for the fix, please the CLA and I can merge this (it will continue to complain because it's only checking master but that's ok)
We require contributors to sign our Contributor License Agreement. 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.
Thanks!
Bug description:
When establishing a database file store, incorrect permission modes are set due to the absence of octal representation.
Assigning the value 700 as the mode does not correspond to the intended (I think) permissions
-rwx------
(700), but rather results in--w-r-xr--
(254). This occurs because in Go, theos.FileMode
doesn’t require the value to be provided only in octal format.Test made to see the difference:
and
ls -lah
output showcasing the difference: