On Tue, Sep 11, 2012 at 06:16:52AM -0700, Nick Coghlan wrote:
On Tue, Sep 11, 2012 at 10:28 PM, Trent Nelson email@example.com wrote:
(Pro-tip though: `sh snakebite.subr` will always do its best to re-initialize everything, like fixing permissions when svn update strips them, etc.)
That's actually causing some problems - if SELinux security context info or ACLs are stored for the directory, then the extra character (either '.' or '+') in the ls -l output causes the permissions check to fail.
Easy enough to fix though, the __get_perms command just needs to be changed to:
ls -l $1 | cut -b 1-10