[Python-Dev] Snakebite v0.1: ready for beta testing.

Nick Coghlan ncoghlan at gmail.com
Tue Sep 11 15:16:52 CEST 2012

On Tue, Sep 11, 2012 at 10:28 PM, Trent Nelson <trent at snakebite.org> 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


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list