LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-29-2003, 03:21 PM   #1
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Rep: Reputation: 15
Cool device (fd0, cdrom) permissions


I just installed slackware9.0 and it works great! Even the sound works. My regular distro has been SuSE. I started a few years ago with 7.3 and now have 8.1; went to debian but admin is an uphill battle.
The question I have right now is that I can only write to the floppy as root. I even changed permissions (chmod ug+x fd0) and when I entered ls -l the permissions showed up as rwx. Yet I still can't write to the floppy without being root. I suppose the same is true for my cdwriter but I haven't gotten that far yet. Is there some perferred way (correct way) to enable user access of devices?
 
Old 09-29-2003, 07:28 PM   #2
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Yes there is a way to do this correctly.... If i can remember correctly u have to open up ftab or mtab i cant member which one anyone it will show /dev/fd0 then follow it along until u see the primissons or whatever they are but u will see root. etc just put in ,users after the last one.....I hope u understand what im trying to say here im not on my linux box right now im not home so i cant tell u exactly what line it is and whats in the line but if u still dont understand post ur ftab and mtab and i will tell u what do to...I hope this helps

Matt3333
 
Old 10-01-2003, 01:26 AM   #3
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Original Poster
Rep: Reputation: 15
Here is my fstab:
/dev/hda6 swap swap defaults 0 0
/dev/hdb6 swap swap defaults 0 0
/dev/hdb7 swap swap defaults 0 0
/dev/hdb2 / ext3 defaults 1 1
/dev/hda1 /fat-c vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
Old 10-01-2003, 01:29 AM   #4
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Original Poster
Rep: Reputation: 15
Hmm I guess that the quick message post limits the lines because I had also added that I'm not as clear on how Slackware sets up fstab, but I think I would just replace owner with user. Is that right? No other changes are necessary?
 
Old 10-01-2003, 06:21 AM   #5
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
yes, just change the owners to your user group for example :
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
 
Old 10-01-2003, 11:26 AM   #6
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
a quick fix i used to fix this was to change the permissions on the /mnt/floppy directory to 777 (i left the owner as root, but this might not be such a good idea). so issue "chgrp users /mnt/floppy && chmod 777 /mnt/floppy". i don't think you have to goof with the fstab, just the permissions on the mount point.
 
  


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
/dev/fd0 is not a valid block device intmail Slackware 2 07-21-2005 06:52 AM
/dev/fd0 not a vcalid block device? lil_becky Debian 3 01-23-2005 01:04 PM
fd0 - Invalid Block Device d_et_al Linux - Hardware 7 01-12-2005 02:41 AM
fd0 not a valid block device jdtiede Linux - Software 5 04-09-2004 07:25 AM
/dev/fd0 is not a valid block device allnight Linux - General 7 02-21-2002 08:42 PM


All times are GMT -5. The time now is 12:41 AM.

Main Menu
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