problem adding printer in CUPS

ethan eswint at vt.edu
Tue Jun 23 05:42:34 PDT 2009


OK - it's all fixed now.  Turns out that Fedora 11 installed CUPS with the wrong permissions.  Thanks for your help.

-Ethan

>
> --Apple-Mail-6-743965095
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> 	charset=us-ascii;
> 	format=flowed;
> 	delsp=yes
>
> On Jun 18, 2009, at 4:49 AM, ethan wrote:
> >>> I'm running into problems when I try to add a printer under Fedora
> >>> 11.  I've got the complete details at
> >>> http://forums.fedoraforum.org/showthread.php?t=224132
> >>>
> >>> but the summary is that I get the errors "HTTP Forbidden for CUPS-
> >>> GetDevices (no URI) from localhost" and "execute /usr/lib/cups/
> >>> daemon/cups-driverd: insecure file permissions (0100777)" when I try
> >>> to add my printer.  Any ideas?
> >>
> >> Did you install CUPS 1.4 on that system?  CUPS 1.4 adds permission
> >> requirements for all executables - you can't have world write
> >> permissions enabled on the executable or containing directory.  It
> >> sounds like the permissions are wrong...
> >
> > Thanks for the reply.  Cups 1.4 is installed.  What should the
> > permissions be, 555 (rx)?
>
>
> They should be 755 or 555, owned by root.  Similarly, the /usr/lib/
> cups/daemon directory should be 755 or 555 and owned by root.
>
> ________________________________________
> Michael R Sweet, Senior Printing System Engineer
>
>
> --Apple-Mail-6-743965095
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html;
> 	charset=us-ascii
>
> <html><head></head><body style=3D"word-wrap: break-word; =
> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
> "><div><div>On Jun 18, 2009, at 4:49 AM, ethan wrote:</div><blockquote =
> type=3D"cite"><div><blockquote type=3D"cite"><blockquote type=3D"cite">I'm=
>  running into problems when I try to add a printer under =
> Fedora<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
> type=3D"cite">11.  I've got the complete details =
> at<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
> type=3D"cite"><a =
> href=3D"http://forums.fedoraforum.org/showthread.php?t=3D224132">http://fo=
> rums.fedoraforum.org/showthread.php?t=3D224132</a><br></blockquote></block=
> quote><blockquote type=3D"cite"><blockquote =
> type=3D"cite"><br></blockquote></blockquote><blockquote =
> type=3D"cite"><blockquote type=3D"cite">but the summary is that I get =
> the errors "HTTP Forbidden for =
> CUPS-<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
> type=3D"cite">GetDevices (no URI) from localhost" and "execute =
> /usr/lib/cups/<br></blockquote></blockquote><blockquote =
> type=3D"cite"><blockquote type=3D"cite">daemon/cups-driverd: insecure =
> file permissions (0100777)" when I =
> try<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
> type=3D"cite">to add my printer.  Any =
> ideas?<br></blockquote></blockquote><blockquote =
> type=3D"cite"><br></blockquote><blockquote type=3D"cite">Did you install =
> CUPS 1.4 on that system?  CUPS 1.4 adds =
> permission<br></blockquote><blockquote type=3D"cite">requirements for =
> all executables - you can't have world write<br></blockquote><blockquote =
> type=3D"cite">permissions enabled on the executable or containing =
> directory.  It<br></blockquote><blockquote type=3D"cite">sounds =
> like the permissions are wrong...<br></blockquote><br>Thanks for the =
> reply.  Cups 1.4 is installed.  What should the permissions =
> be, 555 (rx)?<br></div></blockquote></div><div><br></div>They should be =
> 755 or =
> 555, owned by root.  Similarly, the /us=
> r/lib/cups/daemon directory should be 755 or&nbsp=
> ;555 and owned by root.<div><br><div>
> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: =
> normal; font-variant: normal; font-weight: normal; letter-spacing: =
> normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
> 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
> 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-span" =
> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
> Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
> font-weight: normal; letter-spacing: normal; line-height: normal; =
> orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
> widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
> after-white-space; =
> "><div><div>________________________________________</div><div>Michael R =
> Sweet, Senior Printing System Engineer</div></div></div></span></span>
> </div>
> <br></div></body></html>=
>
> --Apple-Mail-6-743965095--
>





More information about the cups mailing list