LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-02-2005, 01:44 PM   #1
mugwump84
Member
 
Registered: Mar 2005
Distribution: Arch Linux
Posts: 61

Rep: Reputation: 15
How do I make it so regular users can access an automounted floppy?


I have a floppy drive under RedHat 9. I have it so I can mount it with mount by adding user to fstab.

The problem, I tried to set up it to automount, however, now only root can access it. I suspected the permissions on /dev/fd0 could be changed because fdformat had to be run as root, but the new permissions wouldn't stick, they would revert on a reboot.

There's probably a simple solution to this (gee I feel dumb).

(I don't feel like constructing complete thoughts today, sorry if it's confusing.)
 
Old 04-02-2005, 02:59 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Edit /etc/fstab and find line describing the floppy. Make sure you have umask=0 in the options field (4th column).
 
Old 04-02-2005, 09:42 PM   #3
mugwump84
Member
 
Registered: Mar 2005
Distribution: Arch Linux
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks, I'll try that.

What about allowing users to mkfs the floppy?
 
Old 04-02-2005, 10:30 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
For mkfs I think you need write permission to /dev/fd0... it is probably "resetting" because of udev (2.6 kernel) or devfs. For udev edit /etc/udev/permissions.d/udev.permissions to make the settings "stick".
 
Old 04-02-2005, 11:43 PM   #5
mugwump84
Member
 
Registered: Mar 2005
Distribution: Arch Linux
Posts: 61

Original Poster
Rep: Reputation: 15
I have a 2.4 kernel (soon to be fixed!), I'm completely in the dark in this area of Linux.
 
  


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
No access to cdrom or audio with regular users jwn7 Debian 3 09-25-2004 06:45 PM
Giving regular users access to certain root-only commands slickrcbd Linux - Newbie 4 12-24-2003 07:27 AM
How to make regular users able to use the pppd kadaver Slackware 7 11-18-2003 07:51 AM
Automounted Floppy (and CDROM) error messages orenco Linux - General 2 09-29-2003 10:50 AM
How to make floppy available to all users? shan Linux - Newbie 1 01-28-2002 10:28 AM

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

All times are GMT -5. The time now is 04:55 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
Open Source Consulting | Domain Registration