Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2011 17:40:41 +0200
From:      Michael M <thecryof@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mount a ufs partition writable by group wheel?
Message-ID:  <CAKXnHW95C-4qZJOTrCa3uq7JqSeN40c6et6zLkrAkU61ejLpjA@mail.gmail.com>
In-Reply-To: <20110902163108.be0e56b4.freebsd@edvax.de>
References:  <CAKXnHW-CPXczQVvUoCEapN9%2Bqvj7swOZ%2Bk_EuYSgASGE7HA7=Q@mail.gmail.com> <201109021202.p82C2NE4084388@mail.r-bonomi.com> <CAKXnHW8485rnURFaJxwqhsq14cgNuxVW_69pBcWZqhJp3PsNzQ@mail.gmail.com> <20110902163108.be0e56b4.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 2, 2011 at 4:31 PM, Polytropon <freebsd@edvax.de> wrote:

> 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, ...
>


Thanks for the info :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKXnHW95C-4qZJOTrCa3uq7JqSeN40c6et6zLkrAkU61ejLpjA>