From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6C5F31381F3 for ; Thu, 8 Nov 2012 11:00:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 390B221C026; Thu, 8 Nov 2012 11:00:06 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30203E0462 for ; Thu, 8 Nov 2012 10:58:54 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id AAF48210C0 for ; Thu, 8 Nov 2012 05:58:53 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 08 Nov 2012 05:58:53 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.co.uk; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=OkkYkB7YazMl7QF4z4Vb1OXGraA=; b=VQghlewtSTBqVEJRQyx9iYo5xsao woatZqEYdRns5wgmm+hwgjkKrOvWY01QpjOJscGSvRRDfUkyzR18EZ97eRBxmJ2P wKpi4Si3Ft3UbhkNijNaKni13osSC0/YgsCcjPf7y9JOKrN33EJhGdB1AMM2gOzg +vS78nfP5yfab5U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=OkkYkB7YazMl7QF4z4Vb1O XGraA=; b=Xbworl5K4KoCTFHZKKpZz5XS8Lbaj6o0A7sUtfXcx7ch9YnsthJL5I LO19UaUh3ntdoon29KyVLp8NFIIALfy6liyjy1NRtM4bAZIGonLiwLP8bRpwlzN+ xv0VLaY/yTqFw7cYQm9xmm9Xj9j4JYJD73MF916uYA/ewfdVNb52o= X-Sasl-enc: Pspotc8IwQkYlJehswgAga4IMG8B7cA3eo771OgeeQZM 1352372333 Received: from [192.168.1.100] (unknown [94.170.82.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 578034827CD for ; Thu, 8 Nov 2012 05:58:53 -0500 (EST) Message-ID: <509B9065.6070104@fastmail.co.uk> Date: Thu, 08 Nov 2012 10:58:45 +0000 From: Kerin Millar User-Agent: Postbox 3.0.6 (Windows/20121031) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] More file system frustration References: <1352368748.8569.12.camel@moriah> In-Reply-To: <1352368748.8569.12.camel@moriah> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 587a067d-973c-4bd0-9edc-6e4b5915fdf7 X-Archives-Hash: 3e76814e09e6edce21af2d60ac46692a William Kenworthy wrote: > If I try and do: > > moriah ~ # mount -t ceph 192.168.44.68:6789:/ /mnt/ceph -o users > mount error 22 = Invalid argument > Specifying "users" in that context doesn't make sense. Try creating an entry in /etc/fstab. For example: 192.168.44.68:6789:/ /mnt/ceph ceph users 0 0 Then see if you can mount by its mountpoint: $ mount /mnt/ceph > It turns out the driver doesnt recognise the user or users mount option > and gentoo wont let a user mount or access a root mount, or even let a > user mount. Tried adding the user to the disk group without any effect. > It's not a driver option. /bin/mount is suid root and refers to fstab to decide whether a non-root user should be allowed to mount. Generally speaking, regular user accounts should not be added to the disk group. That provides raw read/write access to block device nodes such as dev/sda, which is a potential risk both in terms of safety and security. > Something in gentoo's user access control is causing this problem I > think, so how can I get around it? > > BillK > > > >