From owner-freebsd-commit Mon Jul 17 14:20:10 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA24527 for commit-outgoing; Mon, 17 Jul 1995 14:20:10 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA24502 for cvs-usrsbin-outgoing; Mon, 17 Jul 1995 14:19:50 -0700 Received: (from torstenb@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA24478 ; Mon, 17 Jul 1995 14:19:22 -0700 Date: Mon, 17 Jul 1995 14:19:22 -0700 From: Torsten Blum Message-Id: <199507172119.OAA24478@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/lpr/lpr lpr.c Sender: commit-owner@FreeBSD.org Precedence: bulk torstenb 95/07/17 14:19:16 Modified: usr.sbin/lpr/lpr lpr.c Log: lpr uses access(2) to determine if the parent directory of the file is writeable (by the real uid). if it is, lpr assumes that the file can be unlinked. lpr does not check for directories with S_ISVTX set Reviewed by: dima