From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NppSV-0005Vb-Mh for garchives@archives.gentoo.org; Thu, 11 Mar 2010 20:58:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FD70E0E76; Thu, 11 Mar 2010 20:57:57 +0000 (UTC) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by pigeon.gentoo.org (Postfix) with ESMTP id 1AB1FE0E76 for ; Thu, 11 Mar 2010 20:57:57 +0000 (UTC) Received: by ywh6 with SMTP id 6so271438ywh.16 for ; Thu, 11 Mar 2010 12:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=cS2hf/kR333qI9kqoafxB7mzvo7fem0RI8iZMc/MtNY=; b=bAhTJ7VdajM0hb+miu3BqnqpM0q4QynZgzsQoTGzivUpYazO8vQ5inBZ4k0sFyr6Fz gb6aEzGjBSGCBe9fHgX9k6bLaHDSmE7FZW65XzKLDv51VDmHzGwaB/j45b1J7TkHNWHI aZLxmLr9jeCsHZPrBFAEhY5Fo1n/ub2PqxQ0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=EdpzoncFuUASRGSjWtysQZqCMFg2/bFwRbe+Wi3gSE0vOCKbTj96LaEMrYDxhx56Tw J9V0jLf3hM/d7kuOYUZHLYI8o1PJYRPTWfMIyY+dCuIHbZ7EiLqWsiZT0TYj9ezU0anD N2eOMHY2wm46OK2DT6FhKxuL3JEU49uyikabw= 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 Sender: paul.hartman@gmail.com Received: by 10.150.2.21 with SMTP id 21mr129843ybb.18.1268341076537; Thu, 11 Mar 2010 12:57:56 -0800 (PST) In-Reply-To: <87ljdyd2gi.fsf@newsguy.com> References: <87hbomek74.fsf@newsguy.com> <58965d8a1003111141v53b1803j6d4d035fc5c4f9c@mail.gmail.com> <87ljdyd2gi.fsf@newsguy.com> Date: Thu, 11 Mar 2010 14:57:56 -0600 X-Google-Sender-Auth: e22495696bbbbf59 Message-ID: <58965d8a1003111257v519bf57au7db7731fca18dbfd@mail.gmail.com> Subject: Re: [gentoo-user] Re: About mount with user rw From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 0a5b606a-a9c5-4971-be38-12879018e6ce X-Archives-Hash: 36067d53b8b38776c53e3355d90ed2e8 On Thu, Mar 11, 2010 at 2:32 PM, Harry Putnam wrote: > Paul Hartman writes: > >> On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam wrote: >>> I've done this before but have lost my notes about I guess. >>> >>> I want to mount a device /dev/hdd7 so that my users can read/write >>> freely there. >>> >>> This line, does not do it: >>> >>> grep hdd7 /etc/fstab >>> /dev/hdd7 /home/reader/spool reiserfs noatime,exec,users,rw 0 2 >>> >>> (using the singular `user' didn't help either. >>> >>> What is the syntax I need? >> >> Are the permissions set on /home/reader/spool (when mounted) so that >> the users can read and write to it? > > ahhh no. And I see doing that cures the problem, but how do I make > this happen at every mount... is there syntax for fstab in the options > column that take care of that or does it have to be scripted or something > to get it to happen with every mount. Maybe in the local.start init > script. > > But I was under the impression this could be done with mount options. It should survive unmount and remount. The mount options should only control who is allowed to mount it, not who can use it once it is mounted. (Filesystems that don't understand the concept of permissions might have some mount option to force a certain umask but normal linux filesystems don't need it)