Computing.Net > Forums > Linux > non root users cannot mount floppy

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

non root users cannot mount floppy

Reply to Message Icon

Name: Sony Lloyd
Date: September 8, 2003 at 08:20:59 Pacific
OS: Redhat Linux 4.1 kernel 2
CPU/Ram: Pentium 2 250MB RAM
Comment:

I can have root mount the floppy.
But for the non root users, eventhough I did
add "user" in /etc/fstab, non root users keep get
error "cant create lock file /etc/mtab : permission denied (use -n flag to override)
when I use -n flag, I get error "mount:must be superuser to use mount"
I even tried givin all rights to users + others to /bin/mount, /etc/fstab, /etc/mtab + /mnt/floppy: Problem is still the same.
Here's my entry for the floppy in /etc/fstab:

dev/fd0 /mnt/floppy ext2 user 0 0

PS: the mounting point exists
I tried:
- adding "nosuid" in the 4th column => That wont solve the problem (even other options such as sync,nodev,
unhide --- wont let other users mount)
- even with "auto" in the file system field or trying file systems such as vfat,msdos => problem is the same.
Redhat Linux 4.1 kernel 2.0.30



Sponsored Link
Ads by Google

Response Number 1
Name: taurus
Date: September 8, 2003 at 08:46:45 Pacific
Reply:

WOW!!! I didn't think anybody would still be using RedHat Linux 4.1 now! I remember using it many, many, many moons ago...

Well, you have two options. You can either use sudo to allow any user to execute the mount command or you can add this line (one line) in your /etc/fstab

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

taurus


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: non root users cannot mount floppy

NIS problem with non-root user www.computing.net/answers/linux/nis-problem-with-nonroot-user/14927.html

hard disk spindown as non-root user www.computing.net/answers/linux/hard-disk-spindown-as-nonroot-user/22122.html

Internet Access for non-root users www.computing.net/answers/linux/internet-access-for-nonroot-users/13303.html