public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* umask problem: wrong permissions for new files
@ 2018-04-20 10:04 Ulli Horlacher
  2018-04-20 12:47 ` Houder
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ulli Horlacher @ 2018-04-20 10:04 UTC (permalink / raw)
  To: cygwin

cygwin umask does not work as expected:

/tmp: uname -a; umask; rm -f zz; touch zz; ls -l zz
Linux diaspora 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
0022
-rw-r--r-- 1 framstag users 0 Apr 20 12:00 zz

/tmp: uname -a; umask; rm -f zz; touch zz; ls -l zz
CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
0022
-rw-rw----+ 1 admin None 0 Apr 20 12:00 zz

Why do not have new files mode -rw-r--r-- on cygwin?



-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20180420100357.GA21217@rus.uni-stuttgart.de>

--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-27  9:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20 10:04 umask problem: wrong permissions for new files Ulli Horlacher
2018-04-20 12:47 ` Houder
2018-04-20 12:53   ` Houder
2018-04-20 13:07 ` Corinna Vinschen
2018-04-20 13:25 ` Brian Inglis
2018-04-26 14:38   ` Ulli Horlacher
2018-04-27  9:05     ` Andrey Repin
2018-04-27  9:27       ` Eliot Moss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).