let's make the permission check part of the initialization of the filesystem