[nSLUG] fstab

Doooh Head doooh_head at hotmail.com
Tue Dec 23 14:46:52 AST 2008


Thanks Andrew, that did the trick.  I would have thought that all created users would be part of the "users" group but that was not the case.  I had to add the particular users to that group.  No biggie.  Thanks again.

John A. Bowman 



> Date: Tue, 23 Dec 2008 11:28:33 -0400
> From: andrew.macp at gmail.com
> To: nslug at nslug.ns.ca
> Subject: Re: [nSLUG] fstab
> 
> The 'user' and 'users' options only make it so that a non-root user is
> able to mount and unmount that particular drive, not that they will
> necessarily have access to it.
> 
> What you probably want is this:
> 
> /dev/sda1    /media/USB-HDD    vfat
> rw,auto,user,exec,gid=users,umask=002    0    0
> 
> That will make is so that the drive is mounted with 775 permissions
> and with the group set to 'users'. Naturally your guy has to be part
> of the 'users' group as well.
> 
> Hope that helps.
> 
> Andrew
> 
> 
> 
> On Tue, Dec 23, 2008 at 11:08 AM, Doooh Head <doooh_head at hotmail.com> wrote:
> > Hi All,
> >
> > I have a second drive in my computer running under the latest Ubuntu
> > (8.10).  I've figured out how to add that drive to the fstab file so that
> > everytime I reboot, that drive is automatically mounted.
> >
> > The problem I am having is making the contents of that drive fully available
> > to whatever user logs in.  Regardless of the user, I want that user to have
> > full access (read/write/exec/etc) to that second drive/volume.  What
> > parameters do I specify for it?  Currently I am using:
> >
> > /dev/sda1    /media/USB-HDD    vfat    rw,auto,user,exec    0    0
> >
> > With these parameters, when I check the permissions of a folder contained on
> > that drive (through Nautilus) it says that it is owned by root and that the
> > current user has no permissions.  I tried this:
> >
> > /dev/sda1    /media/USB-HDD    vfat    rw,auto,users,exec    0    0
> >
> > I thought I read that specifying "users" in the options, puts the drive into
> > the users group which should mean I have read/write access, right?  This
> > didn't work.
> >
> > Any ideas on how to make this drive/volume fully available to any user that
> > is logged in?
> >
> >
> > Doooh
> >
> > ________________________________
> > Win a trip with your 3 best buddies. Enter today.
> > _______________________________________________
> > nSLUG mailing list
> > nSLUG at nslug.ns.ca
> > http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug
> >
> >
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug

_________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20081223/47e19c92/attachment.html>


More information about the nSLUG mailing list