[Yum-devel] [PATCH] Use os.open instead of open

Zdenek Pavlas zpavlas at redhat.com
Thu Sep 29 14:59:13 UTC 2011


>  Amusingly it does work though, because the error is correct:

Hmm, really..  Python opens the path first and then stats,
so EACCES at open() is handled first.

open(".", O_RDONLY|O_LARGEFILE)         = 3
fstat64(3, {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
close(3)                                = 0


More information about the Yum-devel mailing list