delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/03/03:16:12

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5337GCCt3252226
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5337GCCt3252226
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ZlnPpErR
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4450A384B052
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1743664571;
bh=q2Hv8Nc+FOs0QoNokSS1NpnusjwZFy5epU/ZnkbwfC0=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=ZlnPpErRFQ+EKmw/P3RM57A980E4/AVLkePmbdJS4vznyILDrva8O694pXnHFAUX2
EtpIeMVCk8Vk0ZTqRjDdEI7fbu0x8Lwz3IyZnWshWxukeoW/X0e4ly1O5tS3XlIMSx
lieCHI5gk3AmEHcz0uGXFuhQWx6WwarlsnfRqSsQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37843384C003
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 37843384C003
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743664500; cv=none;
b=vjYR/93DwADi1kUnl22cp4YAbStS4uHVOncBgPUjV0x1/JL9VHTPjqK5lTimarsLCjwdRG1LS3xE4LL7vdA7t7SrmUDfWkPdFQHG8P4F1UQTZZSa3dbXr90U4sj3SEWtNfLs7n0OgGQvC0MuK/tBTTpEAAj89NTzJ+5GIQeQhTg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1743664500; c=relaxed/simple;
bh=+R2b9FU4pc6R50bnkZPaQTSOmvjLD2iwaLFqah6ysA0=;
h=Message-ID:Date:MIME-Version:To:From:Subject;
b=xJ9H6sSkSCeNQTIXI2wo/vLo2PC4KzzTiCkPcQKlMAYyQBARMjXoixSqlwLBwZPnCss5DiFDGxT5fHVtbxPJQNITrr1BBPo1VfNztvpGnFa9Ho3Ahwn61dTNP3qXoSbxtlJxqHGI77TmpqXLaIhYSkUnF1Pf7hBI9N5lC31wriI=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37843384C003
X-Virus-Scanned: Debian amavisd-new at smtp02.aussiebb.com.au
Message-ID: <434339af-faac-4907-a256-db2f321b7c72@shaddybaddah.name>
Date: Thu, 3 Apr 2025 18:14:55 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: cygwin AT cygwin DOT com
Subject: Cygwin SSHD session unable to access cloud/OneDrive files
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Shaddy Baddah via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Shaddy Baddah <lithium-ebay AT shaddybaddah DOT name>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5337GCCt3252226

Hi,

Just for a bit of context, Windows supports Cloud synced files via
Cloud Storage Providers 
(https://learn.microsoft.com/en-us/windows/win32/shell/integrate-cloud-storage)

The main one is OneDrive, I also use NextCloud, but regardless, the
issue I describe applies to both.

If I connect an SSH session via the "native" OpenSSH instance
integrated into Windows, I can do something like the following to a,
at the time, online only, not yet downloaded file, and OneDrive will
download it ahead of outputing it:

   shaddy AT PUTER-MSW U:\UserData\shaddy\OneDrive\Documents>type DxDiag.txt
   <content follows>

But if I connect an SSH session via the Cygwin instance running on a
different port to 22, it does not trigger the provider to download the
file, and I see this error:

   shaddy AT puter-msw 
/media/noacl/emulateduuid/UserData/shaddy/OneDrive/Documents
   $ cat DxDiag.txt
   cat: DxDiag.txt: Permission denied

The fact that the native SSH session is OK suggests to me that there
is some newer type of security token that that service obtains that
the Cygwin SSH service does not. But I've not looked into it too hard.

Just reporting this for now. It's not something I need to do
daily. Just an observance.

-- 
Regards,
Shaddy

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019