summaryrefslogtreecommitdiffstats
path: root/winsup/doc/faq-using.xml
diff options
context:
space:
mode:
authorWarren Young <warren@etr-usa.com>2015-02-25 17:41:23 +0000
committerWarren Young <warren@etr-usa.com>2015-02-25 17:41:23 +0000
commite93954138f44023f4d1d75c3e572295d8230acad (patch)
treef3d7e88bc723aa71e520fca48fd007e104264607 /winsup/doc/faq-using.xml
parentcc70635c0da7977b36b5dee4904c34f15f118106 (diff)
downloadcygnal-e93954138f44023f4d1d75c3e572295d8230acad.tar.gz
cygnal-e93954138f44023f4d1d75c3e572295d8230acad.tar.bz2
cygnal-e93954138f44023f4d1d75c3e572295d8230acad.zip
Applied the "chgrp `id -g`" improvements suggested by Corinna for the FAQ
item about SSH keys not working in 1.7.34+.
Diffstat (limited to 'winsup/doc/faq-using.xml')
-rw-r--r--winsup/doc/faq-using.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml
index 9351bc850..372888f4c 100644
--- a/winsup/doc/faq-using.xml
+++ b/winsup/doc/faq-using.xml
@@ -1142,9 +1142,24 @@ mode 0600 becomes mode 0660. Because we are saying we want these
files to be readable only by our user, the fix for this is easy:</para>
<screen>
+ $ chgrp `id -g` ~/.ssh/*
+</screen>
+
+<para>That resets the group on these files to your default group
+which should be something like <computeroutput>Users</computeroutput>,
+depending on your local configuration. If that doesn't work, you can
+try something like this instead:</para>
+
+<screen>
$ chgrp None ~/.ssh/*
</screen>
+<para>That group always exists, but its name is different on
+non-English versions of Windows. You might also want to use a
+domain group instead of a local group if your site uses Windows
+domains. For example, you might want to use the <computeroutput>Domain
+Users</computeroutput> group instead.</para>
+
<para>For more information on <command>setfacl</command>, see
<ulink url="https://cygwin.com/cygwin-ug-net/using-utils.html#setfacl"/></para>
</answer></qandaentry>