edsu/bagit — pull request #13 by bmannix (2012-09-03 03:39:50+00:00)
Title: Adds permission prechecking for the target before modifying the file system

Write permissions are required for the top level of a target directory.
If this check passes, read permissions (required to calculate fixities)
are checked. The read check verifies all files in the target directory.
Only once these checks pass will a target directory be bagged.

This change will prevent a permissions error from leaving a delivery in an inconsistent state.