fixing permissions check
Merge branch 'master' of https://github.com/luke-plewa/TinyFS