On Thu, 3 Apr 2025 at 09:15, Shaddy Baddah via Cygwin <cygwin@cygwin.com> 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@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@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 <cedric.blanc...@gmail.com>
[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

Reply via email to