fix commit message for chmod

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