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

Trent Nelson trent at snakebite.org
Tue Sep 11 16:00:03 CEST 2012


On Tue, Sep 11, 2012 at 06:16:52AM -0700, Nick Coghlan wrote:
> 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

    Ta, fixed.


More information about the Python-Dev mailing list