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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-16-2004, 05:37 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
fstab mounting
This is my config in fstab
/dev/hdb2 swap swap defaults 0 0
/dev/hdb1 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 auto,user,ro 0 0
/dev/fd0 /mnt/floppy auto auto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdg5 /mnt/multimedia vfat user,ro
For root, I need to manually mount cdrom and floppy, /dev/hdg5 is mount automatically.
However, I can't mount the cdrom, floppy drive and my hdg5 using my local user account.
Questions :
1) How do I mount them using my user account? I thought "user" is to allow user to mount?
2) Those things that I did in root, doesn't seems to be available for user. (e.g. OpenOffice, adsl-setup, firefox etc)
Last edited by subaruwrx; 06-16-2004 at 05:40 AM.
|
|
|
06-16-2004, 07:21 AM
|
#2
|
LQ Newbie
Registered: May 2004
Location: India
Distribution: Red Hat 9
Posts: 14
Rep:
|
hi,
You have given mount options as auto that will mount automatically when you boot the system.
Give mount option as noauto to /mnt/cdrom
reboot the system.
then mount using the command
mount /mnt/cdrom
before mounting put the cd in the cd drive.
hope this helps.
yours,
nature_priyan.
|
|
|
06-16-2004, 10:59 AM
|
#3
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
This is my cdrom entry from my fstab (SuSE 8.2).
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
Of course, in fstab it's all on one line.
|
|
|
06-18-2004, 03:28 AM
|
#4
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Original Poster
Rep:
|
This is my new fstab file.
/dev/hdb2 swap swap defaults 0 0
/dev/hdb1 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdg5 /mnt/multimedia vfat user,ro
/dev/hdg6 /mnt/collin vfat user,ro
However, my user account still could not access any of the mounted partitions. Error message was "Access Denied".
|
|
|
06-19-2004, 02:37 PM
|
#5
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Original Poster
Rep:
|
Quote:
Originally posted by subaruwrx
This is my new fstab file.
/dev/hdb2 swap swap defaults 0 0
/dev/hdb1 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdg5 /mnt/multimedia vfat user,ro 0 0
/dev/hdg6 /mnt/collin vfat user,ro 0 0
|
I tried mounting cdrom and floppy drive but it said only root can do that. Tried accessing my vfat partition, it said access denied. 
|
|
|
10-25-2004, 07:36 AM
|
#6
|
LQ Newbie
Registered: Mar 2004
Location: Misawa, Japan
Distribution: SUSE 8.0
Posts: 12
Rep:
|
Did you try adding yourself to a group? I had to do that using YAST as root(I just can't remember exactly how I did it) so I could get access as a user to some filesystems. Try Security and Users, then edit and create users... Daveb
|
|
|
All times are GMT -5. The time now is 06:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|