[cups.bugs] Re: [HIGH] STR #1426: Scheduler does not follow symlinks in /usr/share/cups/model

Michael Sweet mike at easysw.com
Fri Feb 17 07:47:43 PST 2006


[STR Closed w/Resolution]

OK, I see the problem - r5044 changed the stat() call in cupsDirRead() to
lstat():

cups/dir.c
    - cupsDirRead(): Use lstat() instead of stat(), since we care
      about the permissions of the destination file, not the link
      itself.

However, this logic is wrong; lstat() returns the link info instead of the
destination info, so I'm reverting this change.

Fixed in trunk...

Link: http://www.cups.org/str.php?L1426
Version: 1.2-current
Fix Version: 1.2-current (r5123)





More information about the cups-devel mailing list