From owner-cvs-all@FreeBSD.ORG Mon Nov 3 23:04:02 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D500C16A4CE; Mon, 3 Nov 2003 23:04:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 512D743FB1; Mon, 3 Nov 2003 23:04:02 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA4742XJ078368; Mon, 3 Nov 2003 23:04:02 -0800 (PST) (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA4742tX078367; Mon, 3 Nov 2003 23:04:02 -0800 (PST) (envelope-from mckusick) Message-Id: <200311040704.hA4742tX078367@repoman.freebsd.org> From: Kirk McKusick Date: Mon, 3 Nov 2003 23:04:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/mksnap_ffs mksnap_ffs.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 07:04:03 -0000 mckusick 2003/11/03 23:04:02 PST FreeBSD src repository Modified files: sbin/mksnap_ffs mksnap_ffs.c Log: Check that the user running mksnap_ffs has permission to create and remove a snapshot file from the directory in which they have requested to have it made. If they do not have write permission in the directory or the directory is sticky and not owned by the user, then they will not be able to remove the snapshot when they are done with it. Revision Changes Path 1.5 +33 -1 src/sbin/mksnap_ffs/mksnap_ffs.c