[BUGFIX] Fix incorrect folder permission check