Avoid permission problem in Cygwin.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 31 Oct 2011 12:08:11 +0200
changeset 257 dfdd1c36beca
parent 256 070533700248
child 258 e3c456cab7ba
Avoid permission problem in Cygwin.
.bashrc
--- a/.bashrc	Mon Oct 31 12:05:48 2011 +0200
+++ b/.bashrc	Mon Oct 31 12:08:11 2011 +0200
@@ -128,6 +128,8 @@
 if [ -n "$COMSPEC" ]; then
   if [ x$OSTYPE = xcygwin ]; then
     export LANG=ru_RU.CP1251
+    # Avoid permission problem in Cygwin.
+    umask 0000
   fi
 fi