public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Bill Zissimopoulos <billziss@navimatics.com>
To: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: [ITP] FUSE 2.8
Date: Mon, 18 Jul 2016 19:43:00 -0000	[thread overview]
Message-ID: <D3B278B6.A4D7%billziss@navimatics.com> (raw)
In-Reply-To: <20160718081931.GE7018@calimero.vinschen.de>

On 7/18/16, 1:19 AM, Corinna Vinschen wrote:


>On Jul 17 01:02, Bill Zissimopoulos wrote:
>>The alternatives are:
>> 
>> 1. Accept the FUSE cygport package as is. Understand that it requires
>> prior installation of WinFsp in order to properly work.
>> 
>> 2. Accept the FUSE cygport package, but require that the package
>>downloads
>> and installs the WinFsp MSI (perhaps as part of its post install
>>process).
>> 
>> 3. Reject this package.
>> 
>> I have currently implemented option (1) but I am happy to change to
>>option
>> (2). The package files can be found at [CYGFUSE]. The source code for
>>the
>> package can be found under the opt/cygfuse directory in this repository:
>> [WINFSP-GH]
>
>I'm ok with whatever you guys come up with (baring licensing
>requirements).

Thanks, Corinna. I am in favor of option #1 and if the package gets
blessed I will be happy to maintain it.

>Just one comment:
>
>Bill, you're aware that the code for the "nobody" handling is not yet in
>the Cygwin git repo?  If your code requires the patch, it won't work
>with current Cygwin 2.5.2, nor with any developer snapshot.

WinFsp implements the agreed upon mapping (S-1-0-65534 <-> 65534). Cygwin
does not implement the mapping yet, which effectively means that 65534
gets mapped to -1 (Unknown+User, Unknown+Group). Here is a mini-session
with SSHFS with mapping and not mapping the local user to the remote user.

    $ ./sshfs -p PORT USER@HOST: Y:
    USER@HOST's password:
    $ ls -la /cygdrive/y
    total 16
    dr-xr-xr-x 1 Unknown+User Unknown+Group  0 Jul 15 16:49 .
    dr-xr-xr-x 1 billziss     None           0 Jul 18 12:26 ..
    -r--r--r-- 1 Unknown+User Unknown+Group 15 Jun 23 23:57 Foo.txt
    ---------- 1 Unknown+User Unknown+Group 15 Jul 15 16:48 HelloWorld.txt
    d--------- 1 Unknown+User Unknown+Group  0 Jul 15 16:49 opt
    $ pkill sshfs
    $ ./sshfs -o idmap=user -p PORT USER@HOST: Y:
    USER@HOST's password:
    $ ls -la /cygdrive/y
    total 16
    drwxr-xr-x 1 billziss Unknown+Group  0 Jul 15 16:49 .
    dr-xr-xr-x 1 billziss None           0 Jul 18 12:27 ..
    -rw-r--r-- 1 billziss Unknown+Group 15 Jun 23 23:57 Foo.txt
    -rwx------ 1 billziss Unknown+Group 15 Jul 15 16:48 HelloWorld.txt
    drwx------ 1 billziss Unknown+Group  0 Jul 15 16:49 opt
    $ pkill sshfs

>Btw., I didn't apply it yet because I was still waiting for a mailing
>list reply to https://cygwin.com/ml/cygwin/2016-06/msg00460.html
>On second thought, this didn't look like a question, much.  So, what do
>you prefer?
>
>  "WinFSP+nobody"
>  "nodomain+nobody"
>  "no+body"
>
>Personally I like the third variation but I'm not religious about it.

My apologies. I did not understand that you were waiting on an answer from
me.

My preference is for nodomain+nobody, primarily because the individual
components “nodomain”, “nobody” describe the lack of domain and username
when read in isolation (i.e. not in the construction nodomain+nobody). But
WinFsp does not use these names (only the SID’s/UID’s) and you, Corinna,
as the Cygwin lead are more qualified than me to choose what fits Cygwin
best.

Many thanks!

Bill


  reply	other threads:[~2016-07-18 19:43 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-17  1:03 Bill Zissimopoulos
2016-07-17 15:43 ` David Stacey
2016-07-17 21:18 ` Marco Atzeri
2016-07-18 19:15   ` Bill Zissimopoulos
2016-07-18  8:19 ` Corinna Vinschen
2016-07-18 19:43   ` Bill Zissimopoulos [this message]
2016-07-18 19:52     ` Bill Zissimopoulos
2016-07-19  9:41       ` Corinna Vinschen
2016-07-19 17:27         ` Bill Zissimopoulos
2016-07-20  8:52           ` Corinna Vinschen
2016-07-21 22:12             ` Bill Zissimopoulos
2016-07-22  7:59               ` Corinna Vinschen
2016-07-22 12:30                 ` Adrien JUND
2016-07-22 12:53                   ` Marco Atzeri
2016-07-22 13:41                     ` Corinna Vinschen
2016-07-22 17:58                     ` Bill Zissimopoulos
2016-07-22 19:58                       ` Marco Atzeri
2016-07-23  0:31                         ` Bill Zissimopoulos
2016-07-23  6:02                           ` Marco Atzeri
2016-07-23  6:33                             ` Bill Zissimopoulos
2016-07-22 17:55                 ` Bill Zissimopoulos
2016-07-22 11:59 Adrien JUND
2016-07-22 17:55 ` Bill Zissimopoulos
2016-07-22 19:56   ` Adrien JUND
2016-07-23  0:23     ` Bill Zissimopoulos
2016-07-23 10:40       ` Corinna Vinschen
2016-07-23 16:44         ` Bill Zissimopoulos
2016-07-23 17:48           ` Corinna Vinschen
2016-07-23 18:34             ` Bill Zissimopoulos
2016-07-25  7:35               ` Corinna Vinschen
2016-07-25 21:20                 ` Bill Zissimopoulos
2016-07-26  6:28                   ` Mark Geisert
2016-07-26  8:45                     ` Herbert Stocker
2016-07-26 12:40                       ` Adrien JUND
2016-07-26 18:13                         ` Mark Geisert
2016-07-26 18:41                           ` Bill Zissimopoulos
2016-07-26 17:23                     ` Bill Zissimopoulos
2016-07-26 18:38                     ` Bill Zissimopoulos
2016-07-26 19:02                       ` Mark Geisert
2016-07-26 19:10                         ` Bill Zissimopoulos
2016-07-26 23:22                         ` Bill Zissimopoulos
2016-07-27  9:03                           ` Mark Geisert
2016-07-27 17:45                             ` Bill Zissimopoulos
2016-07-28  9:17                               ` Mark Geisert
2016-07-28 16:36                                 ` Bill Zissimopoulos
2016-07-28 17:29                                   ` Mark Geisert
2016-07-28 17:43                                     ` Bill Zissimopoulos
2016-07-28 19:14                                     ` Bill Zissimopoulos
2016-07-28 19:21                                       ` Bill Zissimopoulos
2016-07-28 19:59                                       ` Mark Geisert
2016-07-28 20:08                                         ` Corinna Vinschen
2016-07-28 20:04                                       ` Corinna Vinschen
2016-07-28 21:18                                         ` Bill Zissimopoulos
2016-07-29  0:05                                           ` Mark Geisert
2016-07-29  0:17                                             ` Bill Zissimopoulos
2016-07-29  0:27                                               ` Bill Zissimopoulos
2016-07-29  8:19                                                 ` Mark Geisert
2016-07-29  8:51                                                   ` Corinna Vinschen
2016-07-29  9:15                                                     ` Mark Geisert
2016-07-29  9:48                                                       ` Corinna Vinschen
2016-08-16 17:32                                                         ` Corinna Vinschen
2016-08-17  8:27                                                           ` Mark Geisert
2016-08-17  9:14                                                             ` Corinna Vinschen
2016-08-22  9:43                                                               ` Mark Geisert
2016-08-22 11:54                                                                 ` Corinna Vinschen
2016-08-25  8:49                                                                 ` Bill Zissimopoulos
2016-09-05  9:36                                                                   ` Mark Geisert
2016-09-05 11:20                                                                     ` Adrien JUND
2016-09-05 20:16                                                                       ` Mark Geisert
2016-09-06 21:15                                                                         ` Bill Zissimopoulos
2016-09-07  5:22                                                                         ` Herbert Stocker
2016-09-08  8:13                                                                           ` Mark Geisert
2016-09-06 22:07                                                                       ` Mark Geisert
2016-09-06 21:13                                                                     ` Bill Zissimopoulos
2016-09-08 12:01                                                                       ` Corinna Vinschen
2016-09-08 16:58                                                                         ` Bill Zissimopoulos
2016-08-25  8:58                                                                 ` Bill Zissimopoulos
2016-07-29 15:35                                                   ` Bill Zissimopoulos
2016-07-29 18:35                                                     ` Mark Geisert
2016-07-29  7:50                                     ` Bill Zissimopoulos
2016-07-29  8:02                                       ` Mark Geisert
2016-07-26 20:07                       ` Adrien JUND
2016-07-26 20:56                         ` Bill Zissimopoulos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D3B278B6.A4D7%billziss@navimatics.com \
    --to=billziss@navimatics.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).