Harvey-OS / ninep

Package for implementing clients and servers of the 9P and 9P2000 distributed resource protocols in Go.
Other
39 stars 19 forks source link

Don't try to open newly created directories #44

Closed gmacd closed 4 years ago

gmacd commented 5 years ago

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