SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93
Rep:
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?
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
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93
Original Poster
Rep:
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.