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

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 01AD43858401
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:subject:content-language:to
:references:from:in-reply-to:content-transfer-encoding;
bh=fcvLK/qBy5DrjTACIfWWbiAgoMqx6TshWPxEZi7TWtk=;
b=dr+uvXpCbBuNtQ93J94aX4zj4ceYVZ4Nub+PQet6+Du9hDrfgskc5bjeF2F8gXBRbV
8XDFVRM3nNlgMzhi12pdbfJYwigCBKNimQXvVuFTBShSQA9OfwQIQ+fXu1aQ0sIMl0qb
TKbNBNnIxlhhEFfp1ofSW08fQ9R/aRvN/QANgiTAcIYIQbidp2YYXZ7V05LJ84hkYz0W
QIvMnVB7l8UCXeOXDaW8kfTOSqyI2twHlsBE7JABqejtZcpY5xll1hsI999Kkkouiyan
9Uu9lrg1aD9d1/PdftwjNi50bTsZIbE1D6fQX4QHbVsVPK5+feU1cnXPE1xn3Ewasd45
dkkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=fcvLK/qBy5DrjTACIfWWbiAgoMqx6TshWPxEZi7TWtk=;
b=Y52MPuuwMhouJLUMtgrUib9BCaHe+TX39emOBnOhU0Zl/Wnz4PR6+pwHmZRuLyAh5A
FdSlXeBmVWfAbk2+Nig+0i65UQW2tuxX5/3fL4ToRC8kY23mf0RbPbG5S8RkiTlYPmOw
sIlU+MVJV0YqyO7XCwbFXUOrDBrAAsz2fP6J0WrMUSjhMSKMD+PN61VY+cb6IJsNMmRG
r1AKZoVLKEJfkk1y8lltfPxY/llBSqqivJeP23diBzFxGbhpCMs3kJl0K//WaPJL4Vla
USFUqp5eD93AVtbhRt6bFKWqNOek1QVHLvpEUk5dXy4l8gE/qYIn6naGuuXfYiEIvn7H
i0fw==
X-Gm-Message-State: AOAM5334U9X0fgr4n0CxPKHZGyvcSfpvRQaxxHFLSAByLjB0+BmlDVNv
o1QBqz3oRIoEXfTHJ83ZU5H4hZ4Fz3I=
X-Google-Smtp-Source: ABdhPJzVunizYBXfXUN86rIJukqKOmf8yVDekARw5yXpZscl7IuO9GyZOkNhZgPx4Rni/Vhas7aiqw==
X-Received: by 2002:adf:f410:: with SMTP id g16mr8260127wro.376.1641706734921;
Sat, 08 Jan 2022 21:38:54 -0800 (PST)
Message-ID: <c2d14126-101f-6d04-da5d-5d4b14048160@gmail.com>
Date: Sun, 9 Jan 2022 06:38:53 +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: <584156248 DOT 1199495 DOT 1641706088853 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp>
<584156248 DOT 1199495 DOT 1641706088853 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT co DOT jp>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
In-Reply-To: <584156248.1199495.1641706088853.JavaMail.yahoo@mail.yahoo.co.jp>
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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-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>

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

> 
> I noticed this phenomena in launching the  jupyter lab.
> 
>    File "/usr/lib/python3.8/site-packages/jupyter_core/paths.py", line 909, in secure_write
>      raise RuntimeError("Permissions assignment failed for secure file: '{file}'."
> RuntimeError: Permissions assignment failed for secure file: '/home/user/.local/share/jupyter/runtime/jpserver-27580.json'. Got '0o644' instead of '0o0600'.
> 
> Workaround for the jupter lab error is
> export JUPYTER_ALLOW_INSECURE_WRITES=true
> 
> Tatsuro
> 

Regards
Marco


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