umask problem: wrong permissions for new files

Houder houder@xs4all.nl
Fri Apr 20 12:53:00 GMT 2018


On 2018-04-20 14:45, Houder wrote:

> 64-@@ umask
> 0022
> 64-@@ ls -l /tmp
> total 0
> -rw-r--r-- 1 Henri None 0 Apr 20 14:37 junk
> 64-@@ touch /tmp/junk
> 64-@@ ls -l /tmp
> total 0
> -rw-r--r-- 1 Henri None 0 Apr 20 14:39 junk

Sorry. Read the above as:

64-@@ umask
0022
64-@@ ls -l /tmp
64-@@ touch /tmp/junk
64-@@ ls -l /tmp
total 0
-rw-r--r-- 1 Henri None 0 Apr 20 14:39 junk

Henri

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list