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 086BA1381F3 for ; Thu, 8 Nov 2012 12:41:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8437D21C03E; Thu, 8 Nov 2012 12:40:59 +0000 (UTC) Received: from icp-osb-irony-out9.external.iinet.net.au (icp-osb-irony-out9.external.iinet.net.au [203.59.1.226]) by pigeon.gentoo.org (Postfix) with ESMTP id 2B24321C01D for ; Thu, 8 Nov 2012 12:39:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQFAC+nm1A6B9G2/2dsb2JhbABEhhi6EYNAgQiCHgEBBSNmCw0LAgImAgJXhimBealRkw+BII4UghKBEwOIWJMOIoo2gnyBVw X-IronPort-AV: E=Sophos;i="4.80,737,1344182400"; d="scan'208";a="55244339" Received: from unknown (HELO moriah.localdomain) ([58.7.209.182]) by icp-osb-irony-out9.iinet.net.au with ESMTP; 08 Nov 2012 20:39:42 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id B02F726A2DB for ; Thu, 8 Nov 2012 20:39:40 +0800 (WST) X-Virus-Scanned: amavisd-new at lan.localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.lan.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V0XwZZICQKYL for ; Thu, 8 Nov 2012 20:39:31 +0800 (WST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 1A5A72790C6 for ; Thu, 8 Nov 2012 20:39:31 +0800 (WST) Message-ID: <1352378370.14159.2.camel@moriah> Subject: Re: [gentoo-user] More file system frustration From: William Kenworthy To: gentoo-user@lists.gentoo.org Date: Thu, 08 Nov 2012 20:39:30 +0800 In-Reply-To: <509B9065.6070104@fastmail.co.uk> References: <1352368748.8569.12.camel@moriah> <509B9065.6070104@fastmail.co.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 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 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5de5bd86-46ce-4a60-b6e0-ae8511b4b5f8 X-Archives-Hash: 183e5da54d3aee78aecbef3c561efa72 On Thu, 2012-11-08 at 10:58 +0000, Kerin Millar wrote: > 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 > > > > Thanks Kerin, but that has the same problem - but it did allow me to chown the mount point so its usable/testable by users. BillK