delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/09/03:52:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 965373835416
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Message-ID: <0a2a4bff-fbf7-02c8-cf28-3a6271edaa6c@towo.net>
Date: Sun, 9 Jan 2022 09:51:14 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Subject: Re: permission 600
To: cygwin AT cygwin DOT com
References: <517210150 DOT 1192809 DOT 1641708654835 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp>
<517210150 DOT 1192809 DOT 1641708654835 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT co DOT jp>
From: Thomas Wolff <towo AT towo DOT net>
In-Reply-To: <517210150.1192809.1641708654835.JavaMail.yahoo@mail.yahoo.co.jp>
X-Provags-ID: V03:K1:01tiX7xHOcaYNmCtOTnIc/K2rEKIX1Knv5SkAdUp22vuwddcb+Q
ryOnDhD3QvJ87+gUKFjsIwA2Ar5McSeVfRagfWe1a/2j/I1jJ1V/1IUOc0CpK1O7/xiyQ7H
1C1XiYrVBMX7uITPbBF87UdvASsN7LZ9JmEil3PAkxlnDYIRRc9V3+EkkOhZy9SiUD+Kas/
R+GD4Ur5lB4cUHaPt2Vbg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:SxO1mauxRQ0=:jdOHPdze+16wKU2bwRGuMH
g/DVh7P1pg/LdyVQCJEpJp8/d4dR/rL+DNrCuaepaeoB5LIHIxua4+R6tVygjMrb/mdV0pMX8
I9vKwFYwcQkgIparM0XTwjqH+NCqTZ/hOe42D3//PL81h8mz9tKd71muzPZsqW0LeuxITc4P8
HXi4Ryr3rggc9vzDH2h/FzgYomu01ickd1vZ+4VNxJwwavr8DcaPth6aXSKvDANpnCGMPlCgM
xTAF8okmaEuYzQAp6FM1EFA+XLlXDLkFQ6igAO40geQ2EUGtQElH1qvfrx3AYs3Q0dMlafsBl
E0Nks/57O87QKHoDhwbcTJAEOObQHmo89PgSRIg6m/zatXYWIuwqDdXRgXY/yO/2PD08G14xT
1ws5Hwp80QuwvlcJW9R86sQGjOTq6FNrxInJQZr3tsQqFcTdJb4VvjMWdowlXZ0Tdi7I6ng1u
WQ3FTr9+YCtt+rfYsNbWyfE6XZ/VCorPyYeM3jaJaX/Zq0pSQ6tBT3Kfl9gHx18je2aw8nGDJ
39dHoePBMhIu2dPbz0hJion2dbPxA7qN5Tye52Lx5VVwKDQt+QyK5VhkLhHXBBEfaFuPrjvWq
mx0Pu8mF/lIjtphgzJmLgLht+aaO2zUUKDA4YFpOaCRvfdcKk/6dev4w0GVM8z/nZW906N0SH
9sH9t1wWt9AGrgK3orCqBMit364zDNmB75yUEXFzOYgtFYHWrj07SLjCIDbhwwOvVzs0=
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2098q06P006897


Am 09.01.2022 um 07:10 schrieb Tatsuro MATSUOKA:
>> ----- Original Message -----
>>
>> From: "Marco Atzeri"
>> To: "cygwin> Date: 2022/01/09 æ—¥ 14:39
>> Subject: Re: permission 600
>>
>>
>> On 09.01.2022 06:28, Tatsuro MATSUOKA wrote:
>>> $ echo aaa > test.txt
>>> $ ls -l  test.txt
>>> -rw-r--r-- 1 user user 4 Jan  9 14:07 test.txt
>>> $ chmod 600 test.txt
>>> $ ls -l test.txt
>>> -rw-r--r-- 1 user user 4 Jan  9 14:07 test.txt
>> it works for me
>>
>> $ ls -l test.txt
>> -rw-r--r-- 1 Marco Kein 4 Jan  9 06:35 test.txt
>>
>> $ chmod 600 test.txt
>>
>> $ ls -l test.txt
>> -rw------- 1 Marco Kein 4 Jan  9 06:35 test.txt
>>
>> I suspect that having user and group called same
>> is the clue
>>
> Ah! Thanks!
>
> Tatsuro
Did you verify it by using different names?
It can hardly be an explanation by POSIX means. If so, it must be some 
weird consequence of Windows-specific stuff. Maybe a workaround could be 
found for cygwin?
Thomas

-- 
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