public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] About mount with user rw
@ 2010-03-11 19:23 Harry Putnam
  2010-03-11 19:41 ` Paul Hartman
  2010-03-11 20:31 ` [gentoo-user] " Alan McKinnon
  0 siblings, 2 replies; 6+ messages in thread
From: Harry Putnam @ 2010-03-11 19:23 UTC (permalink / raw
  To: gentoo-user

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?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] About mount with user rw
  2010-03-11 19:23 [gentoo-user] About mount with user rw Harry Putnam
@ 2010-03-11 19:41 ` Paul Hartman
  2010-03-11 20:32   ` [gentoo-user] " Harry Putnam
  2010-03-11 20:31 ` [gentoo-user] " Alan McKinnon
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Hartman @ 2010-03-11 19:41 UTC (permalink / raw
  To: gentoo-user

On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam <reader@newsguy.com> 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?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] About mount with user rw
  2010-03-11 19:23 [gentoo-user] About mount with user rw Harry Putnam
  2010-03-11 19:41 ` Paul Hartman
@ 2010-03-11 20:31 ` Alan McKinnon
  2010-03-11 20:46   ` [gentoo-user] " Harry Putnam
  1 sibling, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2010-03-11 20:31 UTC (permalink / raw
  To: gentoo-user

On Thursday 11 March 2010 21:23:43 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?

You can't.

It's a reiserfs file system, it has Unix owners and permissions. It doe snot 
matter how you mount it, those permissions will be used. If the user does not 
have permissions, then they can't use it. Same as /

By your post I can see you are confused with vfat and ntfs. Not being Unix 
filesystems, the kernel has to fudge something to use, and you can make them 
whatever you want.

Stop fooling around with fstab and mount options.
The commands you want are chown and chmod


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: About mount with user rw
  2010-03-11 19:41 ` Paul Hartman
@ 2010-03-11 20:32   ` Harry Putnam
  2010-03-11 20:57     ` Paul Hartman
  0 siblings, 1 reply; 6+ messages in thread
From: Harry Putnam @ 2010-03-11 20:32 UTC (permalink / raw
  To: gentoo-user

Paul Hartman <paul.hartman+gentoo@gmail.com> writes:

> On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam <reader@newsguy.com> 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: About mount with user rw
  2010-03-11 20:31 ` [gentoo-user] " Alan McKinnon
@ 2010-03-11 20:46   ` Harry Putnam
  0 siblings, 0 replies; 6+ messages in thread
From: Harry Putnam @ 2010-03-11 20:46 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon <alan.mckinnon@gmail.com> writes:

> Stop fooling around with fstab and mount options.
> The commands you want are chown and chmod

Got ya ... thanks




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: About mount with user rw
  2010-03-11 20:32   ` [gentoo-user] " Harry Putnam
@ 2010-03-11 20:57     ` Paul Hartman
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Hartman @ 2010-03-11 20:57 UTC (permalink / raw
  To: gentoo-user

On Thu, Mar 11, 2010 at 2:32 PM, Harry Putnam <reader@newsguy.com> wrote:
> Paul Hartman <paul.hartman+gentoo@gmail.com> writes:
>
>> On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam <reader@newsguy.com> 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)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-11 20:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 19:23 [gentoo-user] About mount with user rw Harry Putnam
2010-03-11 19:41 ` Paul Hartman
2010-03-11 20:32   ` [gentoo-user] " Harry Putnam
2010-03-11 20:57     ` Paul Hartman
2010-03-11 20:31 ` [gentoo-user] " Alan McKinnon
2010-03-11 20:46   ` [gentoo-user] " Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox