Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103355

Re: Make a unique filesystem path, without creating the file

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Make a unique filesystem path, without creating the file
Date Tue, 23 Feb 2016 06:04:02 +1100
Lines 24
Message-ID <mailman.46.1456167850.20994.python-list@python.org> (permalink)
References <85r3gf55k4.fsf@benfinney.id.au> <CAG93HwHjKewu-VHUUc1jL=cU-pDNxVtKxx6ORyr+mdLLSJx2TA@mail.gmail.com> <CAG93HwGRsvcc=9rGgOA=oi6C-3pTk-Kr3g4dxCN0ivvixTVPWw@mail.gmail.com> <85mvr26dij.fsf@benfinney.id.au> <mailman.44.1456164660.20994.python-list@python.org> <slrnncmkag.16b.jon+usenet@wintry.unequivocal.co.uk> <mailman.45.1456165511.20994.python-list@python.org> <slrnncmllh.16b.jon+usenet@wintry.unequivocal.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 29zE4ViBcws5j2EM8sMBKgk5t88GxUnWowaxQONFsmrw==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'received:209.85.223': 0.03; 'correct.': 0.07; 'subject:file': 0.07; 'cc:addr:python- list': 0.09; '2016': 0.16; '23,': 0.16; 'accidental': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nonzero': 0.16; 'opposite': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'purposes': 0.20; 'fairly': 0.22; 'trying': 0.22; 'am,': 0.23; 'feb': 0.23; 'header:In-Reply- To:1': 0.24; 'chris': 0.26; 'checking': 0.27; 'message- id:@mail.gmail.com': 0.27; "i'm": 0.30; 'point': 0.33; 'impression': 0.33; 'point,': 0.33; 'though.': 0.33; 'tue,': 0.34; 'received:google.com': 0.35; 'quite': 0.35; 'but': 0.36; 'there': 0.36; 'possible.': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'being': 0.37; "won't": 0.38; 'received:209': 0.38; 'sure': 0.39; 'subject:the': 0.39; 'face': 0.64; 'hand': 0.82; 'chrisa': 0.84; 'collision': 0.84; 'collision.': 0.84; 'to:none': 0.91; 'ethan': 0.91; 'maybe,': 0.91; 'subject:Make': 0.91; 'fare': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Hs/Ye8dnuRjA4w5HfORsm7dhGShgsIa5+vIlO8seaoU=; b=W/jP6aRg6ubd0PiS38Bc5E4Rx9sE6TFGm4VpQDueKlxPXXJrC9gbEfj/2R0+S7+40H /QFwEQhn6TJBrHp8rJJtA3z/Zcvu8ZKrSZ5BS4/Sw0tNB/PmXrQd2abGtlM5Sg3bcH0U yIr7eprkOLB+ZXS6uHPDc++fsts6vZ03uWcGqfiicqwWGQTPilnJd1/fFFwQrGh5JZQH gaRw2tuyjx7pBW6uRyFsGOm5nQ32DsPzhOoDi3EMQfu/InxJyzd3/6O138vYuM8BrIjA c/fx8nWxQrDe9khgH4YKIU14chL/0QnljPaVTrxYs3zHZr+l9z06rWi8XDflMEq1WwMX /h9Q==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-type; bh=Hs/Ye8dnuRjA4w5HfORsm7dhGShgsIa5+vIlO8seaoU=; b=IusSwmIDu/J2dFq3+huIeb6RAMNEGcIRvDRT61Vw6nJS2Hpa+GX2ikV1pkYFudA2P4 90aigp65kcpDWygqoVTmx363Hn9G71cYjB8EdzUsmAL1p79b+e3agseOSkFHaZLG9sY4 in6HeSE0xf2uG4wAP4uz5dxNfN4ZRGSVs4Ii73Q8oM5p7FqTdUxyqrhfWc7STvhLhs40 r2AYETmYvWs7HhrrFsqddPRiGX4Pck8ddWmgWAgDZSYmyQN4sZ+B4YeT0Bbax+aTM20x 7WEplivALUVPnhU5ujs/1mSfRnWjsCEjLYnkTpMJ6zOG5BcQv0nVYEtBvqui5XmKM//H dp/w==
X-Gm-Message-State AG10YOQwf4oIWs4EiD2J1kwJ3Ue7tzlPRNloGq6BSxg6p5w7xtL7cBSTAJIC8G27ibVNaebaDdS26tzQdgUe/A==
X-Received by 10.107.47.162 with SMTP id v34mr27657732iov.19.1456167842720; Mon, 22 Feb 2016 11:04:02 -0800 (PST)
In-Reply-To <slrnncmllh.16b.jon+usenet@wintry.unequivocal.co.uk>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:103355

Show key headers only | View raw


On Tue, Feb 23, 2016 at 5:39 AM, Jon Ribbens
<jon+usenet@unequivocal.co.uk> wrote:
> On 2016-02-22, Chris Angelico <rosuav@gmail.com> wrote:
>> On Tue, Feb 23, 2016 at 5:17 AM, Jon Ribbens
>><jon+usenet@unequivocal.co.uk> wrote:
>>> Weeeeeell, I have a lot of sympathy for that point, but on the other
>>> hand the whole concept of UUIDs ("import uuid") is predicated on the
>>> opposite assumption.
>>
>> Not quite opposite. Ethan is asserting that you cannot be *certain*
>> without actually checking the FS; the point of UUIDs is that you can
>> be fairly *confident* that there won't be a collision. There is a
>> nonzero probability of accidental collisions, and if an attacker is
>> deliberately trying to _force_ a collision, it's most definitely
>> possible. So both views are correct.
>
> I was under the impression that the point of UUIDs is that you can be
> *so* confident that there won't be a collision that for all practical
> purposes it's indistinguishable from being certain.

Maybe, if everyone's cooperating. I'm not sure how they fare in the
face of malice though.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Make a unique filesystem path, without creating the file Ethan Furman <ethan@stoneleaf.us> - 2016-02-22 10:11 -0800
  Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-22 18:17 +0000
    Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 05:25 +1100
      Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-22 18:39 +0000
        Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-22 20:48 +0200
          Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-23 10:37 +1100
            Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-23 00:08 +0000
              Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 11:18 +1100
                Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-23 00:26 +0000
                Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 11:33 +1100
                Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-23 00:44 +0000
                Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 11:56 +1100
        Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 06:04 +1100
          Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-22 11:22 -0800
            Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-23 10:45 +1100
          Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-22 19:22 +0000
            Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-22 21:32 +0200
              Re: Make a unique filesystem path, without creating the file Random832 <random832@fastmail.com> - 2016-02-22 14:41 -0500
                Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-22 22:41 +0200
                Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-22 13:05 -0800
                Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-22 23:22 +0200
                Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-22 15:26 -0800
              Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-23 11:33 +1100
                Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-23 08:54 +0200
                Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-22 23:18 -0800
                Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-23 21:04 +0200
                Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-24 12:40 +1100
                Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-24 09:20 +0200
                Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-02-25 16:38 +1100
                Re: Make a unique filesystem path, without creating the file Marko Rauhamaa <marko@pacujo.net> - 2016-02-25 08:54 +0200
                Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-02-25 19:21 +1100
                Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-25 10:05 +0000
            Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 06:37 +1100
            Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-23 11:03 +1100
              Re: Make a unique filesystem path, without creating the file Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-02-23 00:11 +0000
              Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-22 18:27 -0800
                Re: Make a unique filesystem path, without creating the file Chris Angelico <rosuav@gmail.com> - 2016-02-23 13:53 +1100
                Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-22 19:26 -0800
                Re: Make a unique filesystem path, without creating the file Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-23 08:09 +0000
                Re: Make a unique filesystem path, without creating the file Paul Rubin <no.email@nospam.invalid> - 2016-02-23 00:22 -0800
                Re: Make a unique filesystem path, without creating the file Peter Otten <__peter__@web.de> - 2016-02-23 09:40 +0100
                Re: Make a unique filesystem path, without creating the file Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-23 09:00 +0000
                Re: Make a unique filesystem path, without creating the file Grant Edwards <invalid@invalid.invalid> - 2016-02-23 15:14 +0000
                Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-25 11:41 +1100
                Re: Make a unique filesystem path, without creating the file Random832 <random832@fastmail.com> - 2016-02-25 10:03 -0500
    Re: Make a unique filesystem path, without creating the file Steven D'Aprano <steve@pearwood.info> - 2016-02-23 11:18 +1100

csiph-web