Date: Fri, 2 Sep 2011 16:31:08 +0200 From: Polytropon <freebsd@edvax.de> To: Michael M <thecryof@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Mount a ufs partition writable by group wheel? Message-ID: <20110902163108.be0e56b4.freebsd@edvax.de> In-Reply-To: <CAKXnHW8485rnURFaJxwqhsq14cgNuxVW_69pBcWZqhJp3PsNzQ@mail.gmail.com> References: <CAKXnHW-CPXczQVvUoCEapN9%2Bqvj7swOZ%2Bk_EuYSgASGE7HA7=Q@mail.gmail.com> <201109021202.p82C2NE4084388@mail.r-bonomi.com> <CAKXnHW8485rnURFaJxwqhsq14cgNuxVW_69pBcWZqhJp3PsNzQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Sep 2011 16:08:08 +0200, Michael M wrote: > Excuse my generic question, I should have asked: > > Can the group rw options for given partition destination be defined in fstab > upon mount? No. The access rights depend on the owner:group permissions of the mountpoint directory. The _act_ of mounting depends on the mounter's ownership of the corresponding device files. So in order to to only allow wheel group members to access a certain mount point for ug=rwx, the permissions of that mount point have to be set. This is done independently from what /etc/fstab is for (which controls the _act_ of mounting if all requirements - as mentioned above - are met). However, there _are_ options that can be included in fstab for applying a certain mask to files contained in a mounted directory, see -m and -M in "man mount_msdosfs" for example. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110902163108.be0e56b4.freebsd>