Solved

Files disappear after using floppy in Windows

Posted on 2002-04-30
9
443 Views
Last Modified: 2010-04-20
When we are logged in as anyone other than the root, save a file to the floppy, and bring it to a Windows machine, the file is not there.  Then, when we put it back into the Linux machine, the file does not show up there either.  How do we fix this?
0
Comment
Question by:moterk
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 4

Expert Comment

by:MFCRich
ID: 6981581
Do you unmount the floppy before you remove it from the drive?

> umount /mnt/floppy

Assuming it is mounted on /mnt/floppy
0
 

Author Comment

by:moterk
ID: 6981606
We are using the gnome with x-windows it should automatically unmount.  And we do nothing differently as the root user, but for the root user it works perfectly
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6981933
did you get error messages?
Sound like ordinary users have no permission to the floppy device.
0
 

Author Comment

by:moterk
ID: 6982011
All users are in the user group and have rights to the floppy.  It gives no error when the file is moved or copied onto it.  It just is not there when the floppy is stuck into a Windows machine.  The floppy is formated for windows.  If we save something from the windows machine to the floppy, Linux reads it fine.  We have tried more then one windows machine to see if it was machine dependant.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 6982068
either unmount, or sync /mnt/floppy (or whatever your floppy is) before removing it (still suggested by MFCRich)
0
 
LVL 1

Expert Comment

by:fauzdar
ID: 6982763
when you a copying the file to the floppy make sure that u dont copy it with the permissions. as windows does dont have permission system. on  the copy tab that appears in gnome, go to advanced options and uncheck "Preserve file Attributes".
0
 

Author Comment

by:moterk
ID: 6983491
fauzdar, I believe the Linux file security attributes can not be stored on a non ext partition.

ahoffmann, I tried using sync in fstab a couple days ago and it did not work so I removed it.  Then yesterday before I submitted this question I found a suggestion on the internet.  The suggestion was to assign the floppy mount rights to a certain group and put all of my users into that group.  I tried that and it did not work.  Then after reading your suggestion about sync, I tried sync in fstab again.  And sync in combination with the group fix I tried earlier fixes the problem.

Should I give the points to you or MFCRich?
0
 
LVL 4

Expert Comment

by:MFCRich
ID: 6984320
I don't mind. But I think the solution you have choosen is closer to ahoffmann's.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6985351
> And sync in combination with the group ..
nice that you got a working solution.
Even I meant /bin/sync rather than the fstab option ;-)

So experts vote for my suggestion --thanks-- I'd give another one:
    use mcopy instead of cp
mcopy does not need a mounted floppy (does mount on the fly), and works with (V)FAT floppies directly. You don't need to take care about syncing.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now