delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/14/15:11:58

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDD453857702
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1681499481;
bh=dUaKLfjrDYFiBo4rrYUFw3HpCCM3qpfmLy0EzAo2j1E=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=QFdR6OuHtDfy4zy0lbqClj/oiYEkZKePdwiu+8U9yjHnVAirqKkceypN4nOhHEWjj
1yZE3Lm3SBlbHKW3ukW1pN1/2IWXDjHEPaqe8wx/neW9dW2xRRr/xoOj1vyNurBLB4
FSgX64knxz5jtOTKJxQS3yGr+/igh4MYNMSuCJwo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA5FA3858C54
Date: Fri, 14 Apr 2023 21:11:05 +0200
To: cygwin AT cygwin DOT com
Subject: Re: Permissions question / issue
Message-ID: <ZDmlSTitA7bLQzY1@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <88697a53-26db-6969-2c18-3d6133d248c1 AT cs DOT umass DOT edu>
MIME-Version: 1.0
In-Reply-To: <88697a53-26db-6969-2c18-3d6133d248c1@cs.umass.edu>
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>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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 Apr 13 23:03, Eliot Moss via Cygwin wrote:
> Dear cygwin'ers -
> 
> I seem to be caught in a bind with the Cygwin permissions setup.
> 
> ssh insists that ~/.ssh/config have permissions no less permissive than rw------- (600).

Huh?  No, it doesn't, usually.  My file has perms rw-r--r-- (644) and
that's perfectly fine.  Also, I tried the same setting as you did,
i. e.

$ getfacl config
# file: config
# owner: corinna
# group: vinschen
user::rw-
group::---
group:SYSTEM:r-x
mask::r-x
other::---

And ssh still works as desired and does not throw any error.

You can also add g:SYSTEM:r-x to the directories and it should have
no negative side effect.  I just did that with ~/.ssh and ssh still
works as expected.


Corinna

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