[Yum-devel] writing out the cache and yum-utils

Matthew Miller mattdm at mattdm.org
Tue Jun 21 12:51:54 UTC 2005


On Tue, Jun 21, 2005 at 01:09:55AM -0400, seth vidal wrote:
> The test is:
>         stats = os.stat(thisdir)        
>         if S_ISDIR(stats[0]) and S_IMODE(stats[0]) == 448 and stats[4]
> == uid:
>             return thisdir

Should be os.lstat, though, right?

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.



More information about the Yum-devel mailing list