LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2002, 04:30 AM   #1
jamesbond
LQ Newbie
 
Registered: Jun 2002
Location: Guwahati
Distribution: RedHat
Posts: 3

Rep: Reputation: 0
Question mounting drives and devices as an ordinary user


How do i mount any partition or device(say CDROM) as an ordinary user?modified fstab so that it contains the user option also added uid= and gid= options in addition to that.But nothing seems to be working.Says must be superuser to mount.I use RedHat 7.2 kernel version 2.4.7-10.thanks in advance.
 
Old 06-29-2002, 07:46 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
add the option 'user' in fstab, in the comma delimited list, and ditch the uid and gid options
 
Old 07-07-2002, 06:20 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
And also ditch 'default' if you haven't done that. Generically 'default' is fine, but for ntfs and vfat you will want to 'customize' the delimiter list. Here is what your fstab should look like for a CDROM on a sys with 1 HD and no extra partitions mounting it under it's normal place:
/dev/hdb /mnt/cdrom iso9660 user,noauto,ro 0 0
or something similar to that. Can you mount with the 'mount' command instead of simply adding it to fstab?
 
Old 07-07-2002, 06:40 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
only root can normally mount devices not already listed in fstab
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NFS from an ordinary user fahad26 Linux - Networking 5 05-11-2005 09:11 PM
mounting sata drives user readable duclicsic Linux - General 3 02-03-2005 09:07 AM
Mounting ftp sites as ordinary user saurya_s Linux - Software 2 01-04-2004 04:19 AM
Using k3b as ordinary user friendly_guy Slackware 4 11-06-2003 02:16 PM
New Linux User Mounting Win Drives ? NauticX Linux - Newbie 6 08-13-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration