PDA

View Full Version : Floppy drive problem



benw
09-07-2004, 04:54 AM
Hello everybody.

I'm trying to mount my floppy drive. When I su to root, I can access all the files on it just fine, but when I do it as any user, I get a permission denied error. I tried chmod'ing the directory, but it didn't help.

Your help would be appreciated.

Markus
09-07-2004, 08:02 PM
Type groups as user to check if you're in the floppy group, if not: adduser benw floppy , logout&login again for the change to take effect.
Your /floppy should look like:
drwxr-xr-x 2 root floppy 4096 Dec 11 2003 floppy
If not:
chmod 755 /floppy
chgrp floppy /floppy

benw
09-08-2004, 12:44 AM
Thanks for the reply.

Okay, I did the adduser, it was successful, then I did the chmod and chgroup, they were successful, but /floppy still appears as:

drwxr--r-- 2 root root 7168 Dec 31 1969 floppy

I logged out and back in but still get:

bash: cd: /floppy: Permission denied

The floppy in the drive is good and it can be read perfectly by root.

Any ideas?

Markus
09-08-2004, 05:19 PM
If it's mounted by root it could look like you posted. Does /floppy look the same after you have unmounted it?
This is the line in fstab I have for it: /dev/fd0 /floppy vfat defaults,users,noauto,showexec,umask=022 0 0