Permssions Question

Kevin D. Kinsey, DaleCo, S.P. kdk at
Tue Sep 28 23:54:57 PDT 2004

Thomas Moyer wrote:

>I have recently decided to switch from CUPS to apsfilter for printing and
>cannot remember the permssions on /usr/bin/lp, lpq, lpr, and lprm.  They
>were changed to non-executable (through chmod 0) and now I need to set
>them back to their original values.  Can someone tell me what they should
>Thomas Moyer
>tmm324 at

I'm running and enjoying apsfilter.  I may have futzed around with things
when I was installing apsfilter, but everything print-wise is working with
the following.  I have built world since, though, a few times, so probably
these *are* correct....

% ll lp*
-r-xr-xr-x  1 root  wheel    2590 Apr 23 11:38 lp*
-r-sr-sr-x  1 root  daemon  25416 Apr 23 11:38 lpq*
-r-sr-sr-x  1 root  daemon  29132 Apr 23 11:38 lpr*
-r-sr-sr-x  1 root  daemon  24172 Apr 23 11:38 lprm*

IIRC, you could look at mtree(8) to authoritatively get things back to the
"original" ...

Kevin Kinsey

More information about the freebsd-questions mailing list