LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-03-2004, 01:33 PM   #1
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Rep: Reputation: 15
evil floppy-slackware


Well, I use slackware 10 (installed today and downloaded yesterday)
when i want to use a floppy in kdm (btw , i remember i used startx or sumtin before now i have to do something with g ?)
I have to login as root coz i dont have permission to read/write the floppy with my user.
And when i change floppy i have to unmount/mount it so it will show the files on the new floppy else it keeps showing the old floppys files.
so, how do i do so that my user can access the floppy, and how to do so I dont have to mount it over and over again?
 
Old 10-03-2004, 02:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That is "works as designed/defined" ... Slack doesn't
have the "evil supermount" that you may be used to
from less secure distros - as for the permissions to mount
as a user just edit your /etc/fstab and make
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
read
/dev/fd0 /mnt/floppy auto noauto,user 0 0



Cheers,
Tink
 
Old 10-03-2004, 09:02 PM   #3
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
also try usermod -G floppy user

replace user with your users name

Last edited by Boow; 10-03-2004 at 09:03 PM.
 
Old 10-04-2004, 08:35 AM   #4
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Original Poster
Rep: Reputation: 15
Okay thanks. I still have some problems when going into the floppy with gui but when doing it fom the terminal it works =)
 
Old 10-04-2004, 08:42 AM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
If you want to easily remount a floppy, you can create a script called fdremount and put it in /usr/bin
sample script below:

Code:
#!/bin/bash
# fdremount - script to umount/mount a floppy
umount /mnt/floppy
mount /dev/fd0 /mnt/floppy
exit
#EOF
put this in a test file and call it fdremount. move it to /usr/bin then make it executable:
Code:
# chmod g+x user /usr/bin/fdremount
then, to remount a floppy as a normal user, simply type
Code:
$ fdremount

Last edited by scuzzman; 10-04-2004 at 08:45 AM.
 
  


Reply



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
Evil sagem fast or evil mandrake???? edgefield Mandriva 17 01-24-2005 03:22 AM
Slackware Without Cdrom Or Floppy ilnli Slackware - Installation 6 01-12-2005 02:37 PM
Evil, evil question. x_fire_phly General 5 10-03-2004 03:56 PM
why does slackware.com say floppy is required? lauram93 Slackware - Installation 1 07-16-2004 10:22 PM
Slackware 9.0 floppy set? sobolev Slackware 3 08-13-2003 05:03 AM

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

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