Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2008 21:31:15 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Andrew Bradford <a-bb@gmx.net>
Subject:   Re: Mounting FS read-only for specific user (or root)
Message-ID:  <200802212131.16581.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <47BDD1D5.6060003@gmx.net>
References:  <47BCC9C6.9050501@gmx.net> <47BD3A0B.2030806@locolomo.org> <47BDD1D5.6060003@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802212131.16581.fbsd.questions>