From owner-freebsd-bugs Tue Aug 15 15:10:14 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CD38F37B5A9 for ; Tue, 15 Aug 2000 15:10:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA15850; Tue, 15 Aug 2000 15:10:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 15 Aug 2000 15:10:10 -0700 (PDT) Message-Id: <200008152210.PAA15850@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garance A Drosihn Subject: Re: bin/5031: lpr does not remove original file if -s is used Reply-To: Garance A Drosihn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/5031; it has been noted by GNATS. From: Garance A Drosihn 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