public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Permissions question / issue
Date: Fri, 14 Apr 2023 21:11:05 +0200	[thread overview]
Message-ID: <ZDmlSTitA7bLQzY1@calimero.vinschen.de> (raw)
In-Reply-To: <88697a53-26db-6969-2c18-3d6133d248c1@cs.umass.edu>

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

  parent reply	other threads:[~2023-04-14 19:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  3:03 Eliot Moss
2023-04-14 13:25 ` Eliot Moss
2023-04-14 19:11 ` Corinna Vinschen [this message]
2023-04-14 19:43   ` Eliot Moss
2023-04-14 19:49     ` Eliot Moss
2023-04-14 20:17       ` Corinna Vinschen
2023-04-14 20:13     ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZDmlSTitA7bLQzY1@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).