marschall / memoryfilesystem

An in memory implementation of a JSR-203 file system
284 stars 36 forks source link

Attempted fix at the umask problem #45

Closed fge closed 9 years ago

fge commented 9 years ago

It NEARLY works.

The problem is that it fails when creating directories with permissions... As the native Unix filesystem does respect the umask even in this case, I've tried to emulate that. Works everywhere except for directories.

So, maybe not to merge.

Anyway, the core of the matter is that with this patch set, umask plays its role: that of undoing permissions the user wants to grant.

marschall commented 9 years ago

I think I can make it work. Thanks.