X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; q=dns; s=default; b=VEjG6BkrcpB9iq8QzHgZie7Ewbgxo
	Xjizae0e0uIY1czt+mQnzH+76dbYv1FcHZlPKHTH2Ieo2qFGG7yWafDp+Iof/BGT
	20thYol/RL0TtCmVzBxRW0xcON4hBnrGAX4/Toif5E1fVq9AfOavN3ygeSQiUs3e
	1I5L0QyH1evLiw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; s=default; bh=YCkFLorWrciBCc8mO+3Kd08Job8=; b=Y0O
	qXGK/7J60seCsIQ7ToOCRWE8N1LqxRvCrpt++cGnV8DsmF5iURIdRdMg59brTLZu
	6IlVapgptTvf1zdHNrlsEPYzx1EHknCtmmgxW00poW9Wr4Xe4CrjjjLOi9wNkdTh
	l/h2cUwGUtLfHDWSZM8lBcphkUDMWYtsVVAG9BL8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=till, downloaded, vincent, Hx-languages-length:2294
X-HELO: mail-vk0-f50.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:mime-version:sender:from:date:message-id:subject         :to;        bh=AH2/K3Lm74ZxtwLRfQd9aKfEAXdPz1ve5ShfAdiqKcA=;        b=AnH+JpqvM2kwmfokIbhxwNMYk+EH5SsUNOHB9yjsQ8Vkf07kWAoGQ/7bXbpZjx11Q7         BcBhoAgtY3UYt/NqWz14RwGgxq0QANvEsivL6aXRN8F73RC4oHYii1LkSubvVNEBuXZc         bhf3y1hVcJkA0q/zzulCmbaKR6cw8GVQTvQ3PISfhShyzCglsMQI6LB4i5RK+eCpKhNs         ha1OThReo/xCsXDzFPttrGjMZFdWiyi64xJPUW+a2U/LtnAcj7M+i28/sodKzprFbrdA         89MG+4ipn/aVpzmeGSk6S/yyFdUw/5I0WlNgW1ifvRtRHf1uckyObaiRiyoJh4DnRmH3         OZaw==
X-Gm-Message-State: ALQs6tCCPWGkib2qPv/lCGDjwz7+D1hTtcrMSp4UHrsmFWCQ78sShz6r	/fDRfQFZllXhhTQhEPLW0L2uulWNJd59pJ3D160=
X-Google-Smtp-Source: AIpwx48aHWL741xWQyg7fdDpUjMhysS3VGOxmF01+THcwLtJj/KwS+GkOhdsWnGfvqM2XyuGUu9zY1/UdUxuUGZvUgk=
X-Received: by 10.31.177.14 with SMTP id a14mr3698151vkf.136.1524137930540; Thu, 19 Apr 2018 04:38:50 -0700 (PDT)
MIME-Version: 1.0
From: Vincent Gheur <Vincent@gheur.info>
Date: Thu, 19 Apr 2018 13:38:30 +0200
Message-ID: <CAFBd_9syterX=7PSFb2+Z_KWMxvdrH3o_Rq3oJ65AVOYDX2=ig@mail.gmail.com>
Subject: Issue when trying to access files on a locked BitLocker volume
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"

Hi,

I'm using a Bitlocker encrypted SD card, which stays most of the time in my
laptop, but is generally not unlocked. I'm unlocking it only when I need to
access files on it.

I have also a script which is started at regular intervals, which copies
some critical files on the SD card when it is unlocked. I was using till
recently a *very* old version of cygwin (probably downloaded 10 years ago),
in which I could check whether my SD card was unlocked or not by using *if
[ -d <folder-on-SD-card> ]*. I have downloaded a new version of cygwin in
January, as I migrated to Windows 10 and was encountering some issues with
it. Since I upgraded, this test is not working anymore. When the SD card is
unlocked, testing " -d <folder> " returns TRUE. It returns FALSE when I do
the same test on a non Bitlocker volume for a non-existent folder (which is
the expected behaviour).

I guess there are probably other issues related to accessing locked
Bitlocker volumes.


If someone is wanting to solve this, don't hesitate to contact me if you
need more details or if you want me to make tests.


Kind regards,

   Vincent

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

