[bugfix] swap file must have permmission 0600