From d073a456341cb58d92ce75c2b5b46e1d2a54ec09 Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Tue, 6 Oct 2015 16:31:05 -0400 Subject: [PATCH] * winsup/doc/faq-using.xml (faq.using.same-with-permissions): New entry. --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/faq-using.xml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 35935be..7e85a76 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-06 Ken Brown + + * faq-using.xml (faq.using.same-with-permissions): New entry. + 2015-09-07 Brian Inglis * faq-using.xml (faq.using.man): Replace makewhatis with mandb. diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml index 7656880..4cfc822 100644 --- a/winsup/doc/faq-using.xml +++ b/winsup/doc/faq-using.xml @@ -1183,6 +1183,48 @@ Users group instead. + +Why do my files have extra permissions after updating to Cygwin 1.7.34? + + +The problem is exactly the same as with the key files of SSH. See +. + +The solution is the same: + + + $ 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 + + +You may find that newly-created files also have unexpected +permissions: + + + $ touch foo + $ ls -l foo + -rw-rwxr--+ 1 user group 42 Nov 12 2010 foo + + +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: + + + $ setfacl -b . + $ touch bar + $ ls -l bar + -rw-r--r-- 1 user group 42 Nov 12 2010 bar + + + + Why do my Tk programs not work anymore? -- 2.5.3