LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-28-2003, 10:25 PM   #1
jd20878
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
saving to a floppy from a user account


I am trying to save a file to a floppy from a usera ccount. I am able to do this when logged in as root but cannot when logged in as a user. I have attempted to remedy the problem using the chmod a+rwx /mnt/floppy command but I get an error message telling me that permission is denied. This message is displayed even when I have root access. I have changed the /etc/fstab file so that it looks like :

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu,rw,exec,umask=000 0 0

still no luck.

This is really frustrating. Any help would be greatly appreciated. Thanks
 
Old 08-29-2003, 12:31 AM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Add
user
to the line after noauto.

man mount
'user Allow an ordinary user to mount the file system.'

RO
 
Old 08-29-2003, 09:30 AM   #3
jd20878
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks rolled oat that seemed to have worked

jd20878
 
Old 08-29-2003, 09:39 AM   #4
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
No problem. It appeared that you added every other option but the one that would strike paydirt for you.

RO
 
Old 09-01-2003, 12:55 PM   #5
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
i have a problem accessing my floppy drive in mandrake 9.0 it appears that /ect/fstab file doesn't exist is this hidden, or possibly non existant? how do i create the file, of do i build it a certain way. i have gotten errors stating that /ect/fstab, or /ect/mtab doesn't exist.

appears that i need to build these files. do i create the file in an editor, and then transfer to a folder labeled fstab, and drag it to the /ect directory?

edit: for some reason if i use gnome to access the /ect mnt point, it doesn't show the /ect/fstab file, but if i open it w/ gedit, i can locate the fstab file- this is what it states:
Code:
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,user,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
can i edit this to make the floppy accessible?

Last edited by len; 09-01-2003 at 01:10 PM.
 
Old 09-01-2003, 03:44 PM   #6
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Yours is used under supermount. I believe that it won't show as accessible unless a floppy is there. Then it will show up in mtab after being automounted. On the hidden or non existant front, if a file is not read-execute accessible by the user, then it won't show up in the list of files that can be opened by the editor. Were you root with gedit, but a normal user when navigating to /etc/fstab?

After you put a floppy in, can you naviate to /mnt/fd0?

RO
 
Old 09-01-2003, 04:38 PM   #7
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
i screwed up, and wiped out the fstab file while using gedit. i do have a back up copy, and mtab still exists. i need to create the fstab file that i wiped out- how do i do this? i can't seem to get the file created. i ended up creating a fstab folder???

perhaps my floppy drive, is screwed up, or could be the floppy port. as far as the supermount issue- the files fstab, and mtab both stated none w/ a floppy inserted. i've been told by others that mandrake has supermount issues w/ th stock icons, so they suggested a remedy is in using a different icon.

right now though, i need to create the fstab file that i wiped out. the desktop icon is gone now, so this will have to be replaced as well. there are some files that i want to copy, and then i want to wipe my hdd clean, and start over.
so the objective is to just copy some files and then wipe hdd, and reinstall fresh. i'm on a lan, but have had zero success w/ using ftp, and tightvnc.
 
Old 09-01-2003, 04:45 PM   #8
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Don't logout until you have your fstab restored. As root, restore the file with permissions like this.

-rw-r--r-- 1 root root 866 Jun 12 21:32 /etc/fstab

I don't know where your copy is, but if gedit, is it /etc/fstab~
if so, remove the directory using rmdir, not rm, just to be safe.
rmdir /etc/fstab
then cp /etc/fstab~ /etc/fstab (assuming that this is the backup).

Then, once that is over, right click on the desktop and select Create Neww-->Floppy Device and put in /dev/fd0. See if that works.

RO
 
Old 09-01-2003, 05:49 PM   #9
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
logged out prior to fstab restore. can't boot up, and my minimal knowledge isn't helping matters. crap man, a couple of minutes late in saving my sorry ass from logging out.

thanks for your effort RolledOat!
 
Old 09-01-2003, 06:24 PM   #10
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Rats. Sorry for the hastle. Your best course of action, unfortunately, is to re-install. If you have the linux boot disk, you could at least boot up, and then mount your HD and try to restore fstab. BEFORE you re-install, unless you want to go ahead, post a new thread with 'Accidentally deleted /etc/fstab. I have backup, Help?' Maybe a guru can walk you through it. Of course, if you didn't make the boot floppy, I think it is all over but the crying.

When installing, if there is an option to NOT use supermount, I would select it. Seems you aren't the only with with supermount problems.

RO
 
Old 09-01-2003, 07:14 PM   #11
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
i didn't see an option to not use supermount. could i rewrite my /ect/fstab so it's not using super mount for floppy? i finished the reinstallation, and tried to read the floppy boot diskette (floppy drive does work, at least during the install process, and i've used the boot disk- it works- so the floppy drive is ok), and it didn't read the disk, and threw up a couldn't read contents type of window. what a pain in the ass. i need to get the floppy working from the start. i did post something in the mandrake forum, so it's closer to home there. i was told by some that it was the iconification process- how they have changed icons, and that would fix things. i've been through the icon changes w/ o luck.

thanks again for your assistance.
 
Old 09-01-2003, 09:41 PM   #12
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Sorry, I haven't gotten to a distro that uses supermount so haven't figured out how to turn it off. You should start a new thread that is title to reflect the more narrow problem like 'How do you turn supermount off for a floppy drive'.

Cool, you might try this in a console...

supermount disable

http://www.geocrawler.com/archives/3...0/3/0/3533078/

Good luck.

RO
 
Old 09-01-2003, 09:45 PM   #13
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
You might also see if you can configure it correctly or disable supermount using...

http://doc.mandrakelinux.com/Mandrak...harddrake.html

RO
 
Old 09-01-2003, 09:55 PM   #14
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
thanks for the link, RO. i posted in the mandrake distro forum, and got some advice. still problematic. here's the link:
http://www.linuxquestions.org/questi...999#post456999
 
  


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
system account or user account??? yenonn Linux - Newbie 6 05-10-2006 07:49 PM
Floppy Saving Problem Pls. Help!!! ako Linux - Newbie 7 12-10-2003 04:15 AM
saving to a floppy tied2 Linux - Newbie 4 08-03-2002 10:47 AM
saving data on a floppy jamaso Linux - General 5 03-12-2002 11:08 AM
Moving/Copying/Saving to Floppy chaswp54 Linux - General 1 10-23-2001 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:39 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