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

seth vidal skvidal at phy.duke.edu
Tue Jun 21 13:41:39 UTC 2005


On Tue, 2005-06-21 at 08:51 -0400, Matthew Miller wrote:
> 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?

What's wrong with following out the symlink in this case?

-sv





More information about the Yum-devel mailing list