Date: Tue, 15 Aug 2000 15:10:10 -0700 (PDT) From: Garance A Drosihn <drosih@rpi.edu> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/5031: lpr does not remove original file if -s is used Message-ID: <200008152210.PAA15850@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/5031; it has been noted by GNATS. From: Garance A Drosihn <drosih@rpi.edu> To: freebsd-gnats-submit@FreeBSD.org, blaz@amis.net Cc: Subject: Re: bin/5031: lpr does not remove original file if -s is used Date: Tue, 15 Aug 2000 18:01:39 -0400 For what it's worth, the behavior of 'lpr -s -r' stopped working due to an important security-related change which was made to lpd at the time. That was a quick fix, but an important one. Sometime soon I hope to write a better fix, and when I do then I should be able to get 'lpr -s -r' correctly remove the file once again. In the meantime, recent changes to lpr might be of some use to you. If you do 'lpr -r' (no -s), and IF the file you are printing is on the same disk partition as the spool directory for the printer you are printing to, then lpr will move the file instead of copying it. Thus, you can now get the effect you wanted by having your samba spooling directory be the same as your printer's spool directory. --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008152210.PAA15850>