fix commit message for chmod
made read only fs test platform independent