X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 94E583858401
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: BYvrnfsVM1mHPfCF_Ptyw77sq8lAwueYC4pLZJm2LZbcN5wxJfROEsXGQ52NmHb
 ETh7FpdqNa66BghyHiZGzX4FhKxJ9Wla0llg9NDtT2na7zRcd0yh4RjIK4Y84Gsy36VoLnClp.Mq
 rjMDGoYBdwYUITf_Bo4HntOgyRfU2zqZS6js.L0MErdvRhfgnRbFqmRjpnkulmpOsTjDhYwK2xXy
 6otkyfXpBGCevTBVr5yF_xmcvRl3Eg4ftCO0s2894XX7xm2_85UjcltU_MrRsqT4LlsBa57Qi_I5
 o8tuZl5Cidd7KQxps9Ox1tsRJ5WSgLNNkxx.xikzxY1RbYp0L2mn_oPh_2E117w4wP_sZ_JCxv.b
 biODCl73_UDZBy9L8Wa1n4XjOIy0m7ycTjhft8csJ8LyaeZ537.QL9EKPV6p1MWfHfPZPWocEXJK
 l4coKwth8OPx847__HOJ9pWmsgagLaVU2SvxYIOkX1IZ3fNhi8uPKFvgK.h8YlxHXcNH7c6_QjUy
 wwzrIHTXZrsMx3vhDMHdPj5hR4EkIHy_YwaL7wh.lZ7btfT_LdK6TPAkjzS4yCK9ijjDYn_Uy4.x
 L9Fvz69mlX_7QBGLT5c3n7O4_kSsND24gKkOKnWK.ZRDmJjqHY.bTroN3fvbizS4pbcE9iEII20t
 kuGG_mNfLIzDWcadEREf68PbGk81c6MPNwXlmiPLKR4PSDG7RSJjsdC7pwy6Ect_fJu47KW4qIhY
 3xu_ChM0pIc71guzuZ3DuyTI0ZAGPJ4FP584qg0RdB2EIX668_6kpHVam8eillswM6LbzvLWPmD_
 IcVcTsdNz8XStFSmzzDaND0b9yxWxgmDZtJ3Wt4lz8LK6XZrIB.KRWRKhiCLzJDw-
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641708655; 
 s=yj20110701; d=yahoo.co.jp;
 h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
 bh=+AsA/9ASNo/M5JqbmRPiiL+H6qb+ubtSydz5xAhWCss=;
 b=j2gvJX5C2ByAB+jh6n65tb19vim637EBra2p9hg/3K6B1bq1MR6PiM0Jqez0nigB
 eDvMakrmkfiQN0aw89Jaoa1bdHGjIWO0j+yyY6Rwax5kiB1V9/XqRBW2DZom+Veg1+6
 C/HzNSC1PC1umiN+ohGAiEsfT+2kjEQ1xrhJ/070=
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=dBIWKLJOrUFcNi+ZrvKLdKimyPNvPazh0JHVgx2fRpKGQfWAFRu6crqXUMiRTtr+
 /elT4Mdfjk921BBCasJ9heAWUYAOgBHqqmPAQkz9ZkLfPMzQnTFEmgF3pSfcEKxuQUN
 CfvPZa87fMne0eoXe8mOyQ2NXU6NmPdJoSzWc7lc=;
Date: Sun, 9 Jan 2022 15:10:54 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp>
To: Marco Atzeri <marco.atzeri@gmail.com>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
Message-ID: <517210150.1192809.1641708654835.JavaMail.yahoo@mail.yahoo.co.jp>
Subject: Re: permission 600
MIME-Version: 1.0
References: <517210150.1192809.1641708654835.JavaMail.yahoo.ref@mail.yahoo.co.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@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: Tatsuro MATSUOKA <matsuoka@nuce.nagoya-u.ac.jp>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2096BIQs019843


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


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

