[issue14706] Inconsistent os.access os.X_OK on Solaris and AIX when running as root

2012-05-02 Thread Adi Roiban
Adi Roiban added the comment: Many thanks for your comment! Cheers, Adi -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14706] Inconsistent os.access os.X_OK on Solaris and AIX when running as root

2012-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is not a Python bug. os.access() is just a wrapper around the POSIX access() function: http://pubs.opengroup.org/onlinepubs/9699919799/functions/faccessat.html “If any access permissions are checked, each shall be checked individually, as described in XB

[issue14706] Inconsistent os.access os.X_OK on Solaris and AIX when running as root

2012-05-02 Thread Adi Roiban
New submission from Adi Roiban : The return value of os.access(FILE, os.X_OK) is not consistent across operating system when executed as "root" I have tested with Python 2.5 on Linux and Solaris, but there is a bug in python-nose reporting the same behavior with Python 2.6 on Solaris and AIX.