Resolved a permission problem on Mac OS