delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/09/06:12: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 6873F3858D35
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yahoo.co.jp
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yahoo.co.jp
X-YMail-OSG: b.NxWeAVM1k42.v8nUNmPuPYoI2tHNxMU6Mwn2lDP1tPBlMSs0BXoTaM_9ihh0P
jKlA6d8am58pQvREzeL3TZ3a15iafxze3b9rrLP9XtYvVjD8hxDTlP26VJC2OMl7.kpAZ717dvM7
SlIJ1btZAlalt1n4bdvEBDE1eX._s_jodUvPSlCs8qKZlSsvoL6pUaRqP1SNkshmg2alS8GkcQCh
vm7dtL8g1t3IJ6qRaMnPVwwG1Fi1VCSirvCENk99ZALJAcqACsnFiSEuBRqQCqBmTaX2e.PU_9sx
tFQ9Gj0H.VtyKMd4xMM5Uei1IlRhnAmClncI7jaDdxP2iID57t3FQMzSekDs6qWfJsUneG0lOFHE
7IiPRkxkFxm0p8A_YUZPdusx2QgIr2kUkDrG0loL71_T2iwePUwBJeu.0jawgPWtOXJ7zQo1jmgJ
pI6cl.uHdyxXwmYWnlk8cmIdckpTeBFbbNCqR9hmRi_o_tsp2VPZ4dOXrrGs_Ez4xuV8ix2infrB
aqsHyArg7XKTlo.L_V21YWPVXakx4b_uKia3sM37VPvKN.Dv6LNofldORuj0PvzEjHOBUhk6VYaa
uA.s.f6wC3lI3ZQkLGDIKFjd2oX_gshNSJ_iO6MOuH2aoCuAFbgAKBVxY6LXSz5_1OQeziZpXS77
wqFONDoVlJvzyxqUC4854bjitsIKsLuPrGC9bAUx3YYpmv_6OYNBPvIuoS2pYH6rbykEg1qoK2_P
Az6c0_Pd5_wz.3GzM7K7IK_U9ZFCAu01PZuOTp88EaeKF7hBYrTklbMvPJN8Kkhy2w01JoAHlf2m
xkQHdCn7YHY3ibDRycCF.raxg7txAmItY4Dt5VWTvx2S73wr9rkMxBojR2RWXOb6Z
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641726697;
s=yj20110701; d=yahoo.co.jp;
h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
bh=hx5CSPdKU1BlR27blidptzf9pt027Sqg9iCNqlxGpks=;
b=KVtJ0P5DfjGPb38syI+T8L7xktZSgWBK4ala+KEj3aiDoj/l6bUQx7mmLFBgCVC+
WYhkM2BKzqJg+9VoD+LcBTsEWPfZB8krk97uuFK9HqP/PgcMtVsJDEbxaHc09bBucHE
CsYDdL2na0LQ1FoLUcDTBS2vLOlz65OTj+wAsmOw=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp;
h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
b=igdF7DDlmUMDewjhQ4TR5hP+ULElzbhDL2MRdO128lkgwyctRbBuLgrtNUAaFzit
0jgazhwC7N4Mz9yGmCwjeDHsu+wDTDw8A5a+NtXbNyVJ/EEEd359VZqK3z8YUoL54aT
nn2QVEXL+EBtE5CGOgFhoIL9qsW3SMYs97pednAM=;
Date: Sun, 9 Jan 2022 20:11:32 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
To: Thomas Wolff <towo AT towo DOT net>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
me <tmacchant2 AT yahoo DOT co DOT jp>
Message-ID: <1804805239.1181531.1641726692666.JavaMail.yahoo@mail.yahoo.co.jp>
Subject: Re: permission 600
MIME-Version: 1.0
References: <1804805239 DOT 1181531 DOT 1641726692666 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp>
X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_05, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_PASS, 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-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>
Reply-To: Tatsuro MATSUOKA <matsuoka AT nuce DOT nagoya-u DOT ac DOT jp>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 209BBxjF024891

> ----- Original Message -----
> 
> From: "Thomas Wolff" 
> Date: 2022/01/09 æ—¥ 17:51
> Subject: Re: permission 600
> 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?

I made another windows account and sign in PC with different user name.
But result for chmod 600 gave the same results.
I found the workaround for jupyter by readind the code of "paths.py" in jupyter.

Tatsuro


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