The main reason is because it will fail if you try to create a directory with permission 0000. This is a valid case, although a bit weird, since you could create with 0 permissions, then chmod afterwards. It also means that a go unit test passes when harvey is running with ufs.
I don't think this open call is necessary, but maybe I'm wrong?
The main reason is because it will fail if you try to create a directory with permission 0000. This is a valid case, although a bit weird, since you could create with 0 permissions, then chmod afterwards. It also means that a go unit test passes when harvey is running with ufs.
I don't think this open call is necessary, but maybe I'm wrong?
Signed-off-by: Graham MacDonald grahamamacdonald@gmail.com