diff options
Diffstat (limited to 'src/cups/cups-genppdupdate.in')
-rw-r--r-- | src/cups/cups-genppdupdate.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cups/cups-genppdupdate.in b/src/cups/cups-genppdupdate.in index c48723c..42f7cd9 100644 --- a/src/cups/cups-genppdupdate.in +++ b/src/cups/cups-genppdupdate.in @@ -1,5 +1,5 @@ #! @PERL@ -w -# $Id: cups-genppdupdate.in,v 1.19 2005/04/30 11:48:26 rleigh Exp $ +# $Id: cups-genppdupdate.in,v 1.20 2005/07/04 23:07:11 rleigh Exp $ # Update CUPS PPDs for Gutenprint queues. # Copyright (C) 2002-2003 Roger Leigh (rleigh@debian.org) # @@ -427,8 +427,7 @@ sub find_ppd ($$$$) { # Check that it is a regular file, owned by root.root, not writable # by other, and is readable by root. i.e. the file is secure. my @sb = stat $fn or next; - if (S_ISREG($sb[2]) && ($sb[4] == 0) && ($sb[5] == 0)) { -# !(S_IWOTH & $sb[2]) && (S_IRUSR & $sb[2])) { + if (S_ISREG($sb[2]) && ($sb[4] == 0)) { # Check that the file is a valid Gutenprint PPD file # of the correct version. my $file_version; |