LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-30-2017, 12:14 AM   #1
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Rep: Reputation: Disabled
Can't write to floppy - Debian Stretch


Hi,

I'm using Debian 9 Stretch. I like using floppies. Yeah, I still use floppies. I love them.

Anyway, I can mount and format them fine (right now they're formatted as fat) but I can only write to them as root, I can't write to them as a normal user. I would like to be able to write to them as a normal user. Is there any way to fix that?

Also, I'm going to format my floppies as ext2 (can't be a newer ext as I have another computer running Debian 2.1 that only uses ext2), I would like to be able to still write to them as a normal user after I've formatted them to ext2. Is that possible as well?

If you need anymore info, let me know.

Thanks

Last edited by Elderking1986; 08-30-2017 at 06:08 PM.
 
Old 08-30-2017, 09:24 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Permissions of floppy drive?
 
Old 08-30-2017, 09:37 AM   #3
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
There's still a group called floppy. Is the normal user member of the floppy group?
 
Old 08-30-2017, 01:12 PM   #4
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keruskerfuerst View Post
Permissions of floppy drive?
How would I find the permissions of the floppy drive? I apologize, I'm fairly good with Linux to a extent but I don't have much experience when it comes to drive permissions.
 
Old 08-30-2017, 01:25 PM   #5
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Guttorm View Post
There's still a group called floppy. Is the normal user member of the floppy group?
Yes, I'm a member of the floppy group. Here's the output of "groups eric":

Code:
eric@THEMASTER:~$ groups eric
eric : eric cdrom floppy audio dip video plugdev netdev bluetooth scanner
eric@THEMASTER:~$
That's one of the first things I tried after Googling. I should note that there is no entry for the floppy drive in fstab. Gnome disks is set up to automate the mounting of the floppy drive.

Here's a cropped screenshot of the gnome disks program showing the auto-mount for the floppy drive:
http://i.imgur.com/FhuNoHq.jpg
 
Old 08-30-2017, 01:27 PM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Elderking1986 View Post
How would I find the permissions of the floppy drive? I apologize, I'm fairly good with Linux to a extent but I don't have much experience when it comes to drive permissions.
While I'm not sure why anyone would still be using floppy disks, would it not be the mount point like any other disk/storage device, mounted to the system? I would check what they are on the mount point, your floppy disk is mounted to.

Hope this helps.
 
Old 08-30-2017, 01:34 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
not debian but ScientificLinux6.4

i have to run modprobe FIRST
then i can make a folder in /mnt and then run Mount it mount the floppy drive


seeing as you ( and i ) can NOT buy any new 3.5 "mac" disks any more ( nor a 5.25 real floppy )
-- tossed out a unopened box of 25 last year seeing as i do not have a 5.25 drive anymore

because of this the current kernels do NOT even look for a 3.5 mac drive any more
so you have to manually probe for it , then mount it
 
Old 08-30-2017, 01:35 PM   #8
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
While I'm not sure why anyone would still be using floppy disks, would it not be the mount point like any other disk/storage device, mounted to the system? I would check what they are on the mount point, your floppy disk is mounted to.

Hope this helps.
The floppy disk gets mounted to /media/eric/disks. But for some reason the "disks" directory doesn't get created until the floppy disk is actually mounted by Gnome Disks. After it's unmounted, the "disks" directory gets deleted.
 
Old 08-30-2017, 01:38 PM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Elderking1986 View Post
The floppy disk gets mounted to /media/eric/disks. But for some reason the "disks" directory doesn't get created until the floppy disk is actually mounted by Gnome Disks. After it's unmounted, the "disks" directory gets deleted.
Maybe manually mount your floppy disk, to a mount point that you CAN set your own permissions on?
 
Old 08-30-2017, 01:43 PM   #10
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
not debian but ScientificLinux6.4

i have to run modprobe FIRST
then i can make a folder in /mnt and then run Mount it mount the floppy drive


seeing as you ( and i ) can NOT buy any new 3.5 "mac" disks any more ( nor a 5.25 real floppy )
-- tossed out a unopened box of 25 last year seeing as i do not have a 5.25 drive anymore

because of this the current kernels do NOT even look for a 3.5 mac drive any more
so you have to manually probe for it , then mount it
I did. I ran modprobe which got the floppy working, then I created a floppy.conf file in /etc/modules-load.d to load the module on boot. It works great. I can mount and format the floppy fine, I just can't write to it as a normal user.

I'm trying to fix it so I can do everything via GUI like I do my USB drives without having to mount it as root via terminal.
 
Old 08-30-2017, 01:50 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
So what is the ownership of your floppy?
 
Old 08-30-2017, 01:52 PM   #12
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
I edited the mount options in Gnome Disks to mount it to /media/eric/floppy and edited the permissions of the floppy directory so I can write to it but after the floppy got mounted to it, only root can write to it. Odd.
 
Old 08-30-2017, 02:12 PM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
So you decisively ignore my question and will not check the ownership and permissions? I see, good luck.
 
Old 08-30-2017, 02:26 PM   #14
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
So you decisively ignore my question and will not check the ownership and permissions? I see, good luck.
I didn't ignore you. I'm just a little busy trying to get this working. That's all.

I created a "floppy" directory to mount the floppy to and gave it RW permissions so I can write to it but that didn't work either. After some more Googling, I edited the mount options in Gnome Disks and inserted "users,rw,uid=1000" and now I can mount and write to my DOS formatted floppies. But for some reason it won't mount my ext2 formatted floppy.

Here's the output of dmesg | tail after trying to mount my ext2 floppy:
Code:
eric@THEMASTER:~$ sudo dmesg | tail
[85116.003636] EXT4-fs (fd0): mounting ext2 file system using the ext4 subsystem
[85117.052365] EXT4-fs (fd0): mounted filesystem without journal. Opts: (null)
[85402.645571] EXT4-fs (fd0): Unrecognized mount option "uid=1000" or missing value
eric@THEMASTER:~$
So the uid=1000 option is causing it to not mount my ext2 floppy and I don't know why. I'm just confused.

I don't NEED my floppies formatted as ext2 but I prefer it.

Sorry for making you think I ignored you.

Last edited by Elderking1986; 08-30-2017 at 02:27 PM.
 
Old 08-30-2017, 06:07 PM   #15
Elderking1986
LQ Newbie
 
Registered: Aug 2017
Distribution: Debian Stretch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ok, I fixed it. I have to mount each floppy individually after formatting it as ext2 and running this command:
Code:
sudo chown eric:eric /media/eric/floppy
That's where I was F'ing up I think because I was trying to just change the permissions of the floppy folder itself without having mounted the floppy first.
 
  


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
Debian Stretch download problem joboy Debian 5 06-24-2017 11:48 AM
LXer: How to upgrade Debian 8 Jessie to Debian 9 Stretch LXer Syndicated Linux News 0 06-16-2017 02:11 AM
[SOLVED] Stability of Debian Stretch joe_2000 Debian 6 05-24-2017 07:45 AM
LXer: Debian Outs First Release Candidate of Debian GNU/Linux 9 "Stretch" Installer LXer Syndicated Linux News 0 01-17-2017 03:33 AM
Cannot write to my floppy on Debian OrganicOrange84 Linux - Newbie 3 02-06-2005 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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