LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-21-2004, 04:42 AM   #1
Bob Moore
LQ Newbie
 
Registered: Apr 2004
Location: Barnehurst, Kent
Distribution: Suse Linux 9.1
Posts: 22

Rep: Reputation: 15
Angry Cannot write to Floppy, even as root


Hi, I seem unable to write to my floppy drive anymore, even as root. When I logged in as root and tried to access the properties of the floppy drive I got the following:-
Owner: can view content
group: forbidden
others: forbidden

When I tried to change this I got the following error message:- 'Changing the attributes of files is not supported with protocol devices'

I used to be able to write to the floppy, so what happened? Can anyone help me?

I have enclosed below a copy of /etc/fstab

I am running Suse Linux 9.1 and Linux Kernal 2.6.5-7.95




/dev/hdb7 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D ntfs rw,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb2 /windows/E ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 /windows/F ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb5 /windows/G ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb6 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,rw,users,nodev,nosuid,sync 0 0
 
Old 07-21-2004, 10:03 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"When I tried to change this I got the following error message:- 'Changing the attributes of files is not supported with protocol devices'"

Check the permissions on /media/floppy. They should be 755:
ls -l /media/floppy

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 07-21-2004, 11:20 AM   #3
Bob Moore
LQ Newbie
 
Registered: Apr 2004
Location: Barnehurst, Kent
Distribution: Suse Linux 9.1
Posts: 22

Original Poster
Rep: Reputation: 15
This is what I got when I ran that command.... How do you chmod the permissions?


bob@dhcppc0:~> ls -l /media/floppy
total 65
-rwxr-xr-x 1 bob users 28160 2003-12-19 15:54 Sales Invoice1.xlt
-rwxr-xr-x 1 bob users 22016 2003-12-19 09:38 V.A.T..doc
-rwxr-xr-x 1 bob users 15872 2003-12-19 16:48 vat.xlt
bob@dhcppc0:~>
 
Old 07-21-2004, 12:10 PM   #4
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
mabye you have that copy write lock thing on (physically on your floppy)
 
Old 07-21-2004, 02:43 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"How do you chmod the permissions?"

Your /media/floppy is set up so that users can access read-only. Use this chmod to give everyone read/write/execute:

chmod 777 /media/floppy

If your floppy is formatted as a FAT16 or Fat32 file system then than is all you need to do because the files on the floppy simply assume the permmissions of the mount point. If the floppy is formatted as a Linux file system then you also need to change all of the permissions of the individual files. To do that mount the floppy and issue:

chmod 777 /media/floppy/* -R

--------------------
Steve Stites
 
Old 07-22-2004, 03:51 AM   #6
Bob Moore
LQ Newbie
 
Registered: Apr 2004
Location: Barnehurst, Kent
Distribution: Suse Linux 9.1
Posts: 22

Original Poster
Rep: Reputation: 15
Hi Steve, I think it's worked. :-)

Thanks for that, all I have to wait for now is the time delay. I presume there is no way to speed that up?
 
Old 07-22-2004, 09:45 AM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"all I have to wait for now is the time delay. I presume there is no way to speed that up?"

The time delay is caused by the way that Linux caches disk writes. You can force it to write by using the umount command, unless you are using automount.

If you are using automount you can remove it for the floppy by changing the floppy entry in /etc/fstab. Without automount you have to issue mount and umount commands for the floppy. I prefer to not use automount. I find it more convenient to issue mounts and umounts than to argue with automount about the status of the floppy.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 07-22-2004 at 10:46 AM.
 
Old 07-22-2004, 10:22 AM   #8
Bob Moore
LQ Newbie
 
Registered: Apr 2004
Location: Barnehurst, Kent
Distribution: Suse Linux 9.1
Posts: 22

Original Poster
Rep: Reputation: 15
Hi Steve, thanks for that.... I will remove the automount. :-)
Bob
 
  


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
Can't write to floppy TxLonghorn Linux - Newbie 4 03-17-2005 08:03 PM
can't write to the floppy ??!?? safrout Mandriva 2 11-16-2004 12:08 PM
Still can't write to floppy - why? jhecht Linux - Software 6 06-28-2004 11:36 AM
Can't write to floppy PionexUser Linux - Newbie 3 07-20-2003 12:13 AM
Write to a CD-RW like a floppy... harrkev Linux - General 1 10-26-2001 12:29 PM

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

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