From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 01AD43858401 for ; Sun, 9 Jan 2022 05:38:56 +0000 (GMT) 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 Received: by mail-wr1-x436.google.com with SMTP id k30so2519480wrd.9 for ; Sat, 08 Jan 2022 21:38:55 -0800 (PST) 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) Received: from ?IPV6:2003:cc:9f2f:3eb0:6515:4008:85a7:c977? (p200300cc9f2f3eb06515400885a7c977.dip0.t-ipconnect.de. [2003:cc:9f2f:3eb0:6515:4008:85a7:c977]) by smtp.gmail.com with ESMTPSA id bg12sm4130270wmb.5.2022.01.08.21.38.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 21:38:54 -0800 (PST) Message-ID: 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 Content-Language: it To: cygwin@cygwin.com References: <584156248.1199495.1641706088853.JavaMail.yahoo.ref@mail.yahoo.co.jp> <584156248.1199495.1641706088853.JavaMail.yahoo@mail.yahoo.co.jp> From: Marco Atzeri In-Reply-To: <584156248.1199495.1641706088853.JavaMail.yahoo@mail.yahoo.co.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2022 05:38:57 -0000 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