LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-12-2005, 06:46 PM   #1
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Allowing non-root users rw access to floppy disks?


Hi, need some help with this. My fstab:

Code:
paul@blackhole:~$ cat /etc/fstab
/dev/hda3        swap             swap        defaults         0   0
/dev/hda2        /                reiserfs    defaults         1   1
/dev/hda1        /mnt/winsuck     ntfs        ro,umask=0,user  1   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
/dev/cdrom       /mnt/cdrom       subfs       fs=auto,ro,users 0   0
/dev/dvd         /mnt/dvd         subfs       fs=auto,ro,users 0   0
/dev/fd0         /mnt/floppy      subfs       fs=auto,rw,users 0   0

Code:
paul@blackhole:~$ ls -l /mnt
total 8
rwxrwxrwx  1 root root    0 2005-02-12 15:28 cdrom/
drwxrwxrwx  1 root root    0 2005-02-12 15:28 dvd/
drwxrwxrwx  1 paul root    0 2005-02-12 15:28 floppy/
drwxr-xr-x  2 root root   48 2002-03-15 23:34 hd/
dr-xr-xr-x  1 root root 8192 2005-02-12 13:50 winsuck/

Code:
paul@blackhole:~$ groups

users lp wheel floppy man audio video cdrom slocate
Thanks.

Last edited by black hole sun; 02-12-2005 at 07:06 PM.
 
Old 02-12-2005, 07:05 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
What are the permissions on both the device and the mount point?
 
Old 02-12-2005, 07:08 PM   #3
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sigsegv
What are the permissions on both the device and the mount point?
Check edited post for mount point.

For dev entry:

Code:
paul@blackhole:~$ ls -l /dev/fd0
lrwxrwxrwx  1 root root 8 2005-02-12 07:28 /dev/fd0 -> floppy/0
I dont think I can change that though as udev manages my /dev not devfs
 
Old 02-12-2005, 09:43 PM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
/dev/fd0 is a symlink to /dev/floppy/0 -- what are the permissions on the real device?
 
  


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
Allowing port access to non-root joosep Linux - Networking 1 08-05-2005 10:24 AM
Allowing other users than root to mount drives DarkPhoenix Linux - Newbie 6 06-25-2004 07:28 AM
allowing set users to mount a drive, access issues Alpha_Beta Linux - Hardware 4 11-12-2003 10:21 PM
allowing non-root users to mount drives and shutdown rlpt Slackware 3 09-21-2002 07:35 PM
Allowing users to mount and access devices katanastab Linux - General 1 02-14-2002 04:54 PM


All times are GMT -5. The time now is 04:47 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration