[issue7108] test_commands.py failing on OS X 10.5.7 due to '@' in ls output
James G. sack (jim)
report at bugs.python.org
Thu Dec 17 03:26:36 CET 2009
James G. sack (jim) <jgsack at users.sourceforge.net> added the comment:
test_commands test_getstatus also fails on linux with SELinux enabled
On gnu/linux, info ls reports:
Following the file mode bits is a single character that specifies
whether an alternate access method such as an access control list
applies to the file. When the character following the file mode
bits is a space, there is no alternate access method. When it is
a printing character, then there is such a method.
GNU `ls' uses a `.' character to indicate a file with an SELinux
security context, but no other alternate access method.
A file with any other combination of alternate access methods is
marked with a `+' character.
So it sounds like the previous patch could be further generalized to (say)
- \+? # It may have ACLs.
+ [.+@]? # It may have alt access (SELinux, ACLs
or metadata ('@' OS X).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list