Cygwin file permission.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 31 Jul 2017 01:25:11 +0300
changeset 2165 13a641164f9d
parent 2164 d92444a3f0ae
child 2166 0789bfd17c13
Cygwin file permission.
cygwin.rst
--- a/cygwin.rst	Sun Jul 30 19:51:00 2017 +0300
+++ b/cygwin.rst	Mon Jul 31 01:25:11 2017 +0300
@@ -126,6 +126,24 @@
   Depricated way to install from several sources with ``-m`` option using shell
   aliases as a trick.
 
+Cygwin file permission
+======================
+
+Get list of permissions::
+
+  $ getfacl .
+
+rsync without problems::
+
+  $ rsync -ar —chmod=ugo=rwX $FROM/ $TO/
+
+https://cygwin.com/cygwin-ug-net/using-filemodes.html
+  File permissions.
+https://cygwin.com/cygwin-ug-net/ntsec.html
+  POSIX accounts, permission, and security.
+https://stackoverflow.com/questions/5828037/cygwin-sets-file-permission-to-000
+  Cygwin sets file permission to 000.
+
 Installation on Windows XP
 ==========================