l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Feb 17 13:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] FSTAB Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] FSTAB Questions

> It seems to me there should be a better way to do this.  Perhaps use the 
> "noauto,owner,rw" options like a cdrom so that the partition belongs to 
> the mounting user.  But the user then has to mount it manually at some 
> point.  I haven't tried this yet myself.

Unfortunately, that's not what the "owner" option means.  The "owner" is a 
little like the "user" option.  "user" allows normal users to mount/umount
that filesystem, whereas "owner" allows normal users to mount that filesystem
as long as they own the block special device that the filesystem resides on
(i.e. /dev/fd0a).  Some OS's chown the floppy/cdrom to the person logged in
on the console, so that allows only the person logged in on the console to
mount and umount those filesystems.  That makes sense for removeable media,
but /dev/hda1 probably isn't removable, and isn't chowned to the console

Unless you chown /dev/hda1 to yourself, using "noauto,owner,rw" wouldn't
allow you to mount the dos/fat filesystem.  What you probably want is
"noauto,user,rw", then the user can manually mount the filesystem, and
I *think* then that user will have ownership, rather than root, but I
could be wrong.  The downside is that you need to explicitly mount the
filesystem when you want to use it and umount it when you're done.

  -- Mitch
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.