From owner-freebsd-questions@FreeBSD.ORG Thu Feb 21 20:31:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE0A716A408 for ; Thu, 21 Feb 2008 20:31:19 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A346813C457 for ; Thu, 21 Feb 2008 20:31:19 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id A96291CC8B; Thu, 21 Feb 2008 11:31:18 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 21 Feb 2008 21:31:15 +0100 User-Agent: KMail/1.9.7 References: <47BCC9C6.9050501@gmx.net> <47BD3A0B.2030806@locolomo.org> <47BDD1D5.6060003@gmx.net> In-Reply-To: <47BDD1D5.6060003@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200802212131.16581.fbsd.questions@rachie.is-a-geek.net> Cc: Andrew Bradford Subject: Re: Mounting FS read-only for specific user (or root) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 20:31:20 -0000 On Thursday 21 February 2008 20:32:37 Andrew Bradford wrote: > Erik Norgaard escribi=F3: > > I assume the reasoning for this is you want to preserve permissions > > and attributes on your backup, so you can't solve this simply by > > setting permissions appropriately. > > Yes, exactly. Users need to be able to see their own backups, and > nobody else's. Isn't this what acl's are for? See setfacl(8). I haven't looked into it in= =20 great detail but seems to me that if you make a subdir owned by the user fo= r=20 each backup root for that user and set the acl to only be accessible by use= r,=20 it should work. =2D-=20 Mel