explainTarError (PermissionsError entryname mode) =
    "The tarball entry " ++ quote entryname ++ " has file permissions that are "
 ++ "broken: " ++ (showMode mode) ++ ". Permissions must be 644 at a minimum "
 ++ "for files and 755 for directories."
  where
    showMode :: Tar.Permissions -> String
    showMode m = printf "%.3o" (fromIntegral m :: Int)
explainTarError (PermissionsError entryname mode) =
    "The tarball entry " ++ quote entryname ++ " has file permissions that are "
 ++ "broken: " ++ (showMode mode) ++ ". Permissions must be 644 at a minimum "
 ++ "for files and 755 for directories."
  where
    showMode :: Tar.Permissions -> String
    showMode m = printf "%.3o" (fromIntegral m :: Int)
explainTarError (PermissionsError entryname mode) =
    "The tarball entry " ++ quote entryname ++ " has file permissions that are "
 ++ "broken: " ++ (showMode mode) ++ ". Permissions must be 644 at a minimum "
 ++ "for files and 755 for directories."
  where
    showMode :: Tar.Permissions -> String
    showMode m = printf "%.3o" (fromIntegral m :: Int)