From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 15:40:42 2011 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 71423106566C for ; Fri, 2 Sep 2011 15:40:42 +0000 (UTC) (envelope-from thecryof@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2F37F8FC0A for ; Fri, 2 Sep 2011 15:40:42 +0000 (UTC) Received: by yib19 with SMTP id 19so2862277yib.13 for ; Fri, 02 Sep 2011 08:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dMblK1IKBUm1vbwrJAq1jg9e6lii+OJEGdMUQ5y9Juk=; b=lXZZeDWRbJ2uzdtl+5mJnY6Tab2/N9m1fYftUBLtxEGiKyFsJqwPwB9ad+cHVyZt5P 4PDyUZ/AB2UgnfXL3KjGgR9OXhmYENnK2pVtM0a884IywzjnzFK9WiOV/gaxOQcrIFon FIRhzGXQJcyrt5JF+fYGLktMIgs+K3z4pOA6k= MIME-Version: 1.0 Received: by 10.236.185.138 with SMTP id u10mr6314735yhm.67.1314978041548; Fri, 02 Sep 2011 08:40:41 -0700 (PDT) Received: by 10.236.105.244 with HTTP; Fri, 2 Sep 2011 08:40:41 -0700 (PDT) In-Reply-To: <20110902163108.be0e56b4.freebsd@edvax.de> References: <201109021202.p82C2NE4084388@mail.r-bonomi.com> <20110902163108.be0e56b4.freebsd@edvax.de> Date: Fri, 2 Sep 2011 17:40:41 +0200 Message-ID: From: Michael M To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Mount a ufs partition writable by group wheel? 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: Fri, 02 Sep 2011 15:40:42 -0000 On Fri, Sep 2, 2011 at 4:31 PM, Polytropon 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 :)