diff options
author | Ken Brown <kbrown@cornell.edu> | 2015-10-06 23:31:05 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-10-21 11:22:26 +0300 |
commit | 215dbf05fe1d8164280d669f6ccdc081085943bb (patch) | |
tree | 906c1cca5d91ac5d10e704eff42ae1cceaaff35a /winsup/doc | |
parent | 9e8f75612433be5719b029e8175b2100d97df1db (diff) |
* winsup/doc/faq-using.xml (faq.using.same-with-permissions): New entry.
Diffstat (limited to 'winsup/doc')
-rw-r--r-- | winsup/doc/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/doc/faq-using.xml | 42 |
2 files changed, 46 insertions, 0 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 35935bead..7e85a7647 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -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. diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml index 765688094..4cfc8226c 100644 --- a/winsup/doc/faq-using.xml +++ b/winsup/doc/faq-using.xml @@ -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> |