DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 533DNBe33392851 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 533DNBe33392851 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=hGApbqFX X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73C8238393A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1743686589; bh=s8Xp8S3tlY99xloB8Dte8MgX017AIRBmQcnQ0sFeDas=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=hGApbqFX9ilOHdVGlb8luZ9w5XWJ/MQ0h3EqyF2Fbi7/oADn2tOcNSc+pAT6ONqg1 Mkv3s4cnsojC1bzcdA2Cg20BL+gr7YMwhjPe8iUj93JSofyHsBhUL/g6+FUxyFjSY0 mm7cZ3NFPbXfLaJbv0djM9GfEi0yF8C/xvAgTPus= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0C6BE383FB80 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0C6BE383FB80 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743686527; cv=none; b=DwlkwdIsf3Zkq6tqmkiGwN89KzfjmSqQxsYZMjS4HXZZy+CTGKQ9Oh34qMjnfU46wJB5eOzmFEZ6r0nyV4HRX+ZaHavbcGeQD8RoftUBk4DEpucD3RRSnMr3U5LWY4Kthy76/ZW73k8L+Sbba7QrhjowWsIER9HOxRyu7jfM84w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743686527; c=relaxed/simple; bh=ptNjU/jqsvGcDFmTm6GKztlZtdW2MwfRDULQfzXB3Sw=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=vfVNwiM4t77KIrNf7blkoV5IzNip/VYPIoqXbt0ExEKLUINR7ofPDhPDgieoBZHvLJGDmZOifyyXFCbSQ8NIFEhz7Rpkpabde94p3V2FAPs+950wbirf0ybCaFFBMvd1BVUxaXglcJHwz7n7HFchk3OsptrMDnCPC5GoR14gwB8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C6BE383FB80 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743686525; x=1744291325; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NhoPwwKVf0T7x+7Xmv341vMwZGA7jlOOjYcFpNLGVdQ=; b=X8x3mdVCvP0UE92Lz5J7b1sEUCkyYwZcqx54Gd2oSUXaaJdl/jIDQvOjWz369lm/KE mWza1RA3nOnk+Wq0FgZo9M0YSTvrzcR4ZgDS7RFV51FIUge1/q1NF71jkuq4rfQS9mkV CAVt1LpyTo5f7YDxYNwSOAe+T4fXOItDSy+uRbsnNCPVk9d4ne5HVaQU2sXVlAAbwrSw 75fOuJZVFPfJ1Bzdwp1frirnn34FXhJZVpLTAIIFcifBX7AJP7YNWSwZ+GV+r4XajimF 2VDwMk1avCp8krpctHx8nL+NuicPhATCF9zpuo1E3leuixRWHuYC4eZNyznDOhylOyP5 65lg== X-Gm-Message-State: AOJu0Yxar1cjHYuqtnim99eHA27t5YpS5IVq7WxmH2bVJhzWDT7y41HG TPYLtqFytOjgCnjybzLnx6oWPFOANiO0t4S2AQ1xxBnT9WbYn/T5x1MT/YqxNSFTNQtE0L80mxV erFcmXAEBzADdBh9+Tan+oexJa6haeg== X-Gm-Gg: ASbGncuZ9rQsoonJIrz6LODTNQ51Y1ismKyz+nDQH4OUofO+drHN/TkCoQUjidXnk5Z sYkOy6juCZXl31eQhMsyigpV2h6Us6uKZ+vNgtfOd9/JxNjwlPM/fLgJhMPXexh0jbEYCnyhA6n Yh5Ygiz/6n5MEVFOw8GRWk2CwBnNjl3zg9rrW1dr0w6OYzS3293UP4Lk57Gw== X-Google-Smtp-Source: AGHT+IGXmBYObOVtkUQi/Rmzu/8fSh404fVF9gROYG6nros/FsJfqNsCqZJNnxAtuAEacIirXPpg8WCWY85YJfo/tvc= X-Received: by 2002:a17:902:ce8d:b0:223:65a9:ab86 with SMTP id d9443c01a7336-2296c65e59emr89495065ad.12.1743686525615; Thu, 03 Apr 2025 06:22:05 -0700 (PDT) MIME-Version: 1.0 References: <434339af-faac-4907-a256-db2f321b7c72 AT shaddybaddah DOT name> In-Reply-To: <434339af-faac-4907-a256-db2f321b7c72@shaddybaddah.name> Date: Thu, 3 Apr 2025 15:22:00 +0200 X-Gm-Features: AQ5f1Jpc8RqhJoNXnL2hywh1Eoqf6fXiisygZebpXpMt_9x_b87nOHSrqcZMW-0 Message-ID: Subject: Re: Cygwin SSHD session unable to access cloud/OneDrive files To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Cedric Blancher via Cygwin Reply-To: Cedric Blancher Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Thu, 3 Apr 2025 at 09:15, Shaddy Baddah via Cygwin wrote: > > 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 > > > 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. The filesystem must be mounted as Administrator, or at least visible to the administrator. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- 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