]> sourceware.org Git - newlib-cygwin.git/commitdiff
* winsup/doc/faq-using.xml (faq.using.same-with-permissions): New entry.
authorKen Brown <kbrown@cornell.edu>
Tue, 6 Oct 2015 20:31:05 +0000 (16:31 -0400)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 22 Oct 2015 15:31:49 +0000 (17:31 +0200)
winsup/doc/ChangeLog
winsup/doc/faq-using.xml

index 35935bead76aad438a91c550666fe2f14a6468a4..7e85a7647172fa25ecd8e72394e54c18c21e6918 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-06  Ken Brown  <kbrown@cornell.edu>
+
+       * faq-using.xml (faq.using.same-with-permissions): New entry.
+
 2015-09-07  Brian Inglis  <Brian.Inglis@SystematicSw.ab.ca>
 
        * faq-using.xml (faq.using.man): Replace makewhatis with mandb.
index 765688094e4ea6878db1af988226647dea257524..4cfc8226cb5a8848c988e3fd7a6527238dcb16c1 100644 (file)
@@ -1183,6 +1183,48 @@ Users</computeroutput> group instead.</para>
 
 </answer></qandaentry>
 
+<qandaentry id="faq.using.same-with-permissions">
+<question><para>Why do my files have extra permissions after updating to Cygwin 1.7.34?</para></question>
+<answer>
+
+<para>The problem is exactly the same as with the key files of SSH.  See
+<xref linkend="faq.using.ssh-pubkey-stops-working"/>.</para>
+
+<para>The solution is the same:</para>
+
+<screen>
+  $ ls -l *
+  -rw-rwxr--+ 1 user group 42 Nov 12  2010 file1
+  -rw-rwxr--+ 1 user group 42 Nov 12  2010 file2
+  $ setfacl -b *
+  $ ls -l *
+  -rw-r--r--  1 user group 42 Nov 12  2010 file1
+  -rw-r--r--  1 user group 42 Nov 12  2010 file2
+</screen>
+
+<para>You may find that newly-created files also have unexpected
+permissions:</para>
+
+<screen>
+  $ touch foo
+  $ ls -l foo
+  -rw-rwxr--+ 1 user group 42 Nov 12  2010 foo
+</screen>
+
+<para>This probably means that the directory in which you're creating
+the files has unwanted default ACL entries that are inherited by
+newly-created files and subdirectories.  The solution is again the
+same:</para>
+
+<screen>
+  $ setfacl -b .
+  $ touch bar
+  $ ls -l bar
+  -rw-r--r--  1 user group 42 Nov 12  2010 bar
+</screen>
+
+</answer></qandaentry>
+
 <qandaentry id="faq.using.tcl-tk">
 <question><para>Why do my Tk programs not work anymore?</para></question>
 <answer>
This page took 0.035175 seconds and 5 git commands to generate.