<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">That is an elegant idea, but I don't
      know how to do that.<br>
      <br>
      For now, I took the path of least resistance to a better
      workaround.  I created /media/floppy.  Then I set Change Content:
      Anyone permission for that.  And finally revised my addition to
      fstab thus:<br>
      /dev/fd0 /media/floppy vfat
      rw,nosuid,nodev,uhelper=udisks2,user,noauto,umask=0 0 0<br>
      <br>
      This seems to work OK in multiple-user setups, so it is a better
      workaround.<br>
      <br>
      As a footnote: The Filesystem Hierarchy Standard, if that is still
      current, says that /media/floppy should exist, but it does not
      here in a default installation.  See <a
        href="http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT">http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT</a><br>
      <br>
      On 4/18/2015 8:16 PM, Niles Rogoff wrote:<br>
    </div>
    <blockquote
cite="mid:CAAdgGAn7W7uZA_ouzwQ2eznfCo07yFf6Zx6DD2LuJ80D331_CA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Not very knowledgable about this, but I think you
        can add an upstart job that runs every time the volume is
        mounted. This could chmod or chown the mount dir.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-04-18 20:09 GMT-04:00 John Hupp <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ubuntu@prpcompany.com" target="_blank">ubuntu@prpcompany.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">I
            installed Lubuntu 14.04 for someone who had an XP-era PC. 
            He also has a really, really old offline PC that he uses for
            a few familiar programs, and wants to ferry some files back
            and forth between the two PC's using floppies.<br>
            <br>
            This should be no problem, except that the floppy mounts in
            Lubuntu with root ownership, and only root can change
            content, so ordinary users cannot copy files to or edit
            files on a floppy.<br>
            <br>
            Someone somewhere (!) reported that the behavior could be
            duplicated in a virtual machine with no actual floppy drive.<br>
            <br>
            Design behavior should be that the floppy mounts with the
            logged-in user as owner, which is what happens with USB
            flash drives.<br>
            <br>
            As far as I can tell, this is a new instance of a regression
            in the kernel and/or udisks2 that has previously been
            reported and fixed. (If so, then the problem should appear
            in Ubuntu as well as Lubuntu.)<br>
            <br>
            See for instance:<br>
            udisks2 mounts floppy disk as root<br>
            Bug fix released<br>
            udisks2: mounts floppy always for root:root (not writable
            for normal users)<br>
            <br>
            I couldn't figure out how to get floppies to mount with the
            logged-in user as owner, but I do have a sloppy workaround
            that sets a permission to allows anyone to change content on
            the floppy.  This was inspired by comment #11 at Floppies
            mount fine, but can't seem to edit them in Xubuntu 14.04.<br>
            <br>
            The sloppy workaround in my case is to add this line to
            /etc/fstab:<br>
            /dev/fd0 /media/user1/disk vfat
            rw,nosuid,nodev,uhelper=udisks2,user,noauto,umask=0 0 0<br>
            <br>
            This will work fine in a one-user installation, but it fails
            in a multi-user installation.  With user2 as the logged in
            user, clicking on Floppy Disk in pcmanfm to mount it causes
            the error:<br>
                The specified directory '/media/user1/disk' is not
            valid.<br>
            <br>
            I would be happy to hear about it if someone can come up
            with an improved workaround!<span class="HOEnZb"><font
                color="#888888"><br>
                <br>
                -- <br>
                ubuntu-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:ubuntu-users@lists.ubuntu.com"
                  target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
                Modify settings or unsubscribe at: <a
                  moz-do-not-send="true"
                  href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users"
                  target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>