<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <table>
      <tbody>
        <tr>
          <td class="votecell">
            <div class="vote"> <span itemprop="upvoteCount"
                class="vote-count-post "></span><br>
            </div>
          </td>
          <td class="postcell">
            <div>
              <div class="post-text" itemprop="text">
                <p>I managed to share folders from my desktop on Ubuntu
                  14.04 to my private network, and the data is visible
                  from a Windows machine. I even shared a hdd that has
                  windows on it. So everything seems to work fine.</p>
                <p>When I want to share a mounted device (USB pen drive,
                  USB HDD... etc) however, I get from the Windows
                  machine: <strong>Access denied on file \...</strong></p>
                <p>I realize that this is due to the missing rights on
                  the mounted folder. By default a mounted folder gets
                  the equivalent of <strong>700 : drwx------</strong>,
                  and the owner myself. But, I can't seem to change the
                  rights on the external device... they remain 700.</p>
                <p>Is there a special trick I need to do in order to
                  share mounted usb devices?</p>
                <p>Thanks</p>
                <p><br>
                </p>
              </div>
            </div>
          </td>
        </tr>
      </tbody>
    </table>
    <div class="moz-cite-prefix">On 24/09/14 20:00,
      <a class="moz-txt-link-abbreviated" href="mailto:plug-request@plug.org.au">plug-request@plug.org.au</a> wrote:<br>
    </div>
    <blockquote cite="mid:mailman.1.1411560003.26892.plug@plug.org.au"
      type="cite">
      <pre wrap="">Send plug mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:plug@plug.org.au">plug@plug.org.au</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://lists.plug.org.au/mailman/listinfo/plug">http://lists.plug.org.au/mailman/listinfo/plug</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:plug-request@plug.org.au">plug-request@plug.org.au</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:plug-owner@plug.org.au">plug-owner@plug.org.au</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plug digest..."


Today's Topics:

   1. Re: Managing files across diverse media? file deduplication,
      checksums (Robert Parker)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Sep 2014 19:53:08 +0700
From: Robert Parker <a class="moz-txt-link-rfc2396E" href="mailto:rlp1938@gmail.com"><rlp1938@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:plug@plug.org.au">plug@plug.org.au</a>
Subject: Re: [plug] Managing files across diverse media? file
        deduplication,  checksums
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAAykW6mzxqcQ6-nLy5prkgAVU+7O1835BzAmeSHfrshxb0_P+g@mail.gmail.com"><CAAykW6mzxqcQ6-nLy5prkgAVU+7O1835BzAmeSHfrshxb0_P+g@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"

On Mon, Sep 22, 2014 at 2:58 PM, Nick Bannon <a class="moz-txt-link-rfc2396E" href="mailto:nick@ucc.gu.uwa.edu.au"><nick@ucc.gu.uwa.edu.au></a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">On Mon, Sep 01, 2014 at 08:10:05PM +0800, John McCabe-Dansted wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">[...] backup everything onto new media yet again. I'd like to be able to
quickly maintain a list of sha256 or md5 sums that could be used to:
</pre>
        </blockquote>
        <pre wrap="">
I know just how you feel!

</pre>
        <blockquote type="cite">
          <pre wrap="">1) To list all files on X that are not duplicated/backed up on other
</pre>
        </blockquote>
        <pre wrap="">media
</pre>
        <blockquote type="cite">
          <pre wrap="">2) Deduplicate files on X quickly (using existing md5 hashes).
3) To list all files that are not duplicated onto offline or WORM storage
4) To list all files that are not duplicated onto offsite storage
5) Match JPGs by EXIF date.
</pre>
        </blockquote>
        <pre wrap="">but!
</pre>
        <blockquote type="cite">
          <pre wrap="">md5deep wants to regenerate hashes for unmodified files on every run.
</pre>
        </blockquote>
        <pre wrap="">
I haven't found the perfect thing yet; but something might be close to
it.

First, I've found "rdfind" pretty simple. If you want to straightforwardly
remove duplicates or consolidate them with links/symlinks, it will do
that efficiently across multiple directories. If you just take a deep
breath and do that, it can make manual cleanups and de-duplication much
more tractable.

"summain" looks interesting, though at first glance I expect it to have
the same problem as "md5deep". The same author's rather neat backup
program "obnam" has done that in the past, but I need to check it out
again.

"shatag" looks promising!
Maybe "cfv"?

<a class="moz-txt-link-freetext" href="https://tracker.debian.org/rdfind">https://tracker.debian.org/rdfind</a>
<a class="moz-txt-link-freetext" href="https://tracker.debian.org/summain">https://tracker.debian.org/summain</a>
<a class="moz-txt-link-freetext" href="https://tracker.debian.org/obnam">https://tracker.debian.org/obnam</a>
<a class="moz-txt-link-freetext" href="https://tracker.debian.org/shatag">https://tracker.debian.org/shatag</a>
<a class="moz-txt-link-freetext" href="https://tracker.debian.org/cfv">https://tracker.debian.org/cfv</a>

</pre>
        <blockquote type="cite">
          <pre wrap="">I am looking at writing a tool to record and manage file IDs across
media [1], but doing this right could take quite a while.
[1] <a class="moz-txt-link-freetext" href="https://github.com/gmatht/joshell/tree/master/mass_file_management">https://github.com/gmatht/joshell/tree/master/mass_file_management</a>
</pre>
        </blockquote>
        <pre wrap="">
Nick.

I have written something that may help;
</pre>
      </blockquote>
      <pre wrap=""><a class="moz-txt-link-freetext" href="https://github.com/rlp1938/Duplicates">https://github.com/rlp1938/Duplicates</a>
It's written in C so the usual ./configure && make && sudo make install is
needed.

It does work across file systems if required.
There are some optimisations:
1. 0 size files are never considered.
2. Files with unique sizes are dropped from consideration.
3. Files of identical size are dropped if they don't match on the smaller
of filesize or 128 kb.
4. The rest are md5summed and those that have matching sums are output to
stdout. Redirect to a file of course.

Broken symlinks discovered along the way are output on stderr.

Also:
<a class="moz-txt-link-freetext" href="https://github.com/rlp1938/Processdups">https://github.com/rlp1938/Processdups</a>
That is an interactive program to help you deal with the consequences of
finding your list of duplicates. It gives you the option of preserving 1
only of a duplicated group, hard linking them together (if on 1 filesystem,
symlinking otherwise), deleting all, or just ignoring the group.

Good luck.
Bob Parker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://lists.plug.org.au/pipermail/plug/attachments/20140923/76939fcf/attachment-0001.html"><http://lists.plug.org.au/pipermail/plug/attachments/20140923/76939fcf/attachment-0001.html></a>

------------------------------

Subject: Digest Footer

_______________________________________________
PLUG discussion list: <a class="moz-txt-link-abbreviated" href="mailto:plug@plug.org.au">plug@plug.org.au</a>
<a class="moz-txt-link-freetext" href="http://lists.plug.org.au/mailman/listinfo/plug">http://lists.plug.org.au/mailman/listinfo/plug</a>
Committee e-mail: <a class="moz-txt-link-abbreviated" href="mailto:committee@plug.linux.org.au">committee@plug.linux.org.au</a>


------------------------------

End of plug Digest, Vol 124, Issue 13
*************************************
</pre>
    </blockquote>
    <br>
  </body>
</html>