From owner-freebsd-doc@FreeBSD.ORG Mon May 2 11:40:03 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43FAD16A4D0 for ; Mon, 2 May 2005 11:40:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B71FB43D53 for ; Mon, 2 May 2005 11:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j42Be2ad038898 for ; Mon, 2 May 2005 11:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j42Be21K038897; Mon, 2 May 2005 11:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 2 May 2005 11:40:02 GMT Resent-Message-Id: <200505021140.j42Be21K038897@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bernd Luevelsmeyer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 613E116A4CE for ; Mon, 2 May 2005 11:37:28 +0000 (GMT) Received: from christel.heitec.net (christel.heitec.net [62.206.253.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 696DD43D39 for ; Mon, 2 May 2005 11:37:27 +0000 (GMT) (envelope-from bernd@heitec.net) Received: from tostan.admin.er.heitec.net (paladin.heitec.net [62.206.253.14]) by christel.heitec.net (Postfix) with ESMTP id 96DE8A8937 for ; Mon, 2 May 2005 13:20:08 +0200 (CEST) Received: (from bernd@localhost)j42BK8Jc094670; Mon, 2 May 2005 13:20:08 +0200 (CEST) (envelope-from bernd) Message-Id: <200505021120.j42BK8Jc094670@tostan.admin.er.heitec.net> Date: Mon, 2 May 2005 13:20:08 +0200 (CEST) From: Bernd Luevelsmeyer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/80533: filesystem snapshots are not "frozen" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bernd Luevelsmeyer List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 11:40:03 -0000 >Number: 80533 >Category: docs >Synopsis: filesystem snapshots are not "frozen" >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon May 02 11:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bernd Luevelsmeyer >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD 5.4-STABLE >Description: The handbook tells, for mounted filesystem snapshots, that "Everything will be in the same state it was during the snapshot creation time." This is misleading. While the original snapshot will indeed have the creation time contents, this may change after mounting it. Users have the same permissions in the mounted snapshot filesystem as they have in the "real" filesystem. Unless the snapshot is mounted readonly, they can easily modify, delete or create files there. The snapshot is in no way a "frozen" image of the snapshot creation time. >How-To-Repeat: I create a file as user "bernd", then take a snapshot as root, then modify the snapshot's file as user. $ cd /home/bernd $ mkdir test $ echo hello > test/file $ cat test/file hello $ su -m Password: # mksnap_ffs /home /home/snap # mdconfig -a -t vnode -f /home/snap md12 # mount /dev/md12 /mnt # cat /mnt/bernd/test/file hello # exit $ echo world > /mnt/bernd/test/file $ cat /mnt/bernd/test/file world >Fix: Change the "will be in the same state" sentence from the handbook to "will initially be in the same state". >Release-Note: >Audit-Trail: >Unformatted: