delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/25/04:16:25

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06BD9388703C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1608887730;
bh=i2DT3ybUHYKpbT1ztyt2hvjLxpeV0iTmde8i82ZXJ7U=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=rrX5gJLKUgMm5CzRXYPmlf7/pZNWXTQkR5XKWJ/6pc/WmGcmImqPcP5vcyvqB1s7/
dOmZBjgC0uI5YWsZ1xyzMzrN5rJGcIYG+F2pneV4TT1lCSeR71o/aULkdEGVl6TaUy
zU8UxuULsoOmGlHvpQ0H5tZqoOMwxFGoOmh+ERfc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C7D75383F85E
X-Authority-Analysis: v=2.4 cv=Q4RsX66a c=1 sm=1 tr=0 ts=5fe5adac
a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17
a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=zTNgK-yGK50A:10
a=GGNgmLRz6DiLoIB5UWoA:9 a=QEXdDO2ut3YA:10
To: Ken Brown <kbrown AT cornell DOT edu>
Subject: Re: chmod issue on 3.1.7.
X-PHP-Originating-Script: 501:rcmail.php
MIME-Version: 1.0
Date: Fri, 25 Dec 2020 01:15:22 -0800
Message-ID: <6640bdc9f4c413faa3b16f933bf8d97b@mail.kylheku.com>
X-Sender: 743-406-3965 AT kylheku DOT com
User-Agent: Roundcube Webmail/0.9.2
X-CMAE-Envelope: MS4xfAGKGA8ED8XlwlOQE0+vZmqyhTx7DisD2dZwurqJSHIyc5Y5wK8M+gH+jbi1Vd9HLj12xLY8bB32Yku/+MXpZQmKPe0Pb0GSxJ+G4XgiEMcX8Mq0xBh2
pMcE+98CLrndxF7ULgFc6rL4pVnAstcRYzXDbbTt/VAB+TUM35rILJ/QP5khq40UQMUZiOzbTaSgTQMEBGiQsULBhQjhox2pYZbUGs70Zr+4R02c8vf6Q7Ol
X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,
FROM_STARTS_WITH_NUMS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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: "Kaz Kylheku \(Cygwin\) via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Kaz Kylheku \(Cygwin\)" <743-406-3965 AT kylheku DOT com>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 2020-12-24 14:56, Ken Brown via Cygwin wrote:
> Could the problem be that the owner and group are the same?  You can
> do that on unix, but I'm not sure the Windows security model allows
> it.  For example, what happens when you remove permissions of the
> owner kaz while retaining the permissions of the group kaz?  As far as
> Windows is concerned, you're talking about BLACKBOX\kaz in both cases,
> I think.

I have no idea where that came from. All files in the Cygwin 
installation
(/bin, /usr/bin, /lib, ...) are owned by kaz:kaz. Numerically,
197613:197613. The UID and GID are the same number.

I don't see a passwd file any more in current Cygwin, but getpwent 
works:

4$ txr
This is the TXR Lisp interactive listener of TXR 243.
Quit with :quit or Ctrl-D on an empty line. Ctrl-X ? for cheatsheet.
1> (getpwent)
#S(passwd name "kaz" passwd "*" uid 197613 gid 197613 gecos 
"U-BLACKBOX\\kaz,S-1-5-21-3442361740-4082249206-548862920-1005"
           dir "/home/kaz" shell "/bin/bash")
2> (getpwent)
#S(passwd name "SYSTEM" passwd "*" uid 18 gid 18 gecos "U-NT 
AUTHORITY\\SYSTEM,S-1-5-18"
           dir "/home/SYSTEM" shell "/bin/bash")

I have no clue where this configuration came from. Is there some 
prompting
for these names when a new installation is made?

If nobody else has this problem, I must have done something wrong.
--
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