LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Desperately need help with diskette permissions. (http://www.linuxquestions.org/questions/linux-hardware-18/desperately-need-help-with-diskette-permissions-499504/)

Tux-O-Matic 11-07-2006 02:35 PM

Desperately need help with diskette permissions.
 
I'll give you as much information as I can, but now all file transfers from my computer to a computer with Internet are shut out (I have no Internet; my USB port is broken; I have trouble isntalling k3b, so a rewritable CD is out of the question, and now this...).

Go ahead, laugh if you want...:cry:

Anyway, I have trouble with changing permissions on my diskette, my only source of file transfer. I used to be the root, using four or five diskettes, but then decided to create my own account. Once into my account, I realized that I didn't have permissions to read/write a diskette. Then, from the command line, I logged in as root and typed the following (the diskette is mounted in /media/floppy, and for some reason I can only mount it in the GUI):
Quote:

cd /media/
chmod 222 floppy/
chmod 444 floppy/
From what I remember, it said I didn't have permissions to change the file, even though I was the super-user (root). I then used the GUI for the root to change permissions, but they didn't apply. As the root, I didn't even have permissions to delete or add files to the diskette. My non-root account is in the "root" group, so I should have the same privilges as root. Does anyone know what's wrong?

Again, I'm sorry that I couldn't give you more information: I have no contact with another computer.:confused:

rylan76 11-08-2006 05:48 AM

Hmm, as far as I know you just need to mount the floppy as root, and you should not need to change permissions on it once it is mounted. While a floppy is not mounted /mnt/floppy (equating to /dev/fd0) should just be an empty directory on the disk...

Have you mounted the floppy? Does it automount?

Does df -mh

have an entry referring /dev/fd0?

Tux-O-Matic 11-08-2006 05:18 PM

Yes. I used to be able to only mount with the GUI, and now I can't mount at all. However, I am able to read a device. Whenever I'm the super user, I see that I can read and write the CD, but other users can only read. I tried to change the permissions, but couldn't.

Wim Sturkenboom 11-08-2006 11:36 PM

I don't know if this applies to FC5 (I'm using Slackware).

What comes to mind is a 'problem' in /etc/fstab. Is there a line in /etc/fstab like
Code:

/dev/fd0        /mnt/floppy      auto        noauto,user      0  0
I can mount my floppy as a normal user issuing the command
Code:

mount /mnt/floppy
and can read/write from/to it.


All times are GMT -5. The time now is 12:04 PM.