Date: Thu, 21 Feb 2008 09:44:59 +0100 From: Erik Norgaard <norgaard@locolomo.org> To: Andrew Bradford <a-bb@gmx.net> Cc: freebsd-questions@freebsd.org Subject: Re: Mounting FS read-only for specific user (or root) Message-ID: <47BD3A0B.2030806@locolomo.org> In-Reply-To: <47BCC9C6.9050501@gmx.net> References: <47BCC9C6.9050501@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Bradford wrote: > I'm trying to set up a mounted filesystem that is read-write for root, > but read-only for anyone else. It will be mounted as a backup > directory, so files listed in that directory will be owned by current > users on the system but can't be writeable, regardless of the file > permissions. > > hd2 mounted rw in /root/backup-rw > hd2 mounted ro in /backups > > Is this possible? Have you tried? ;) 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. But then, do users need frequent access to their backup? Then you could simply mount it on a mount point which only has root access. Cheers, Erik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BD3A0B.2030806>