Re: umask problem: wrong permissions for new files

2018-04-27 Thread Eliot Moss
On 4/27/2018 4:54 AM, Andrey Repin wrote: Greetings, Ulli Horlacher! On Fri 2018-04-20 (07:25), Brian Inglis wrote: Cygwin supports Windows ACLs as POSIX ACLs, which are also supported by Linux. Use setfacl to set similar default ACLs (DACLs) on a Linux directory, rerun your test there, and

Re: umask problem: wrong permissions for new files

2018-04-27 Thread Andrey Repin
Greetings, Ulli Horlacher! > On Fri 2018-04-20 (07:25), Brian Inglis wrote: >> Cygwin supports Windows ACLs as POSIX ACLs, which are also supported by >> Linux. Use setfacl to set similar default ACLs (DACLs) on a Linux >> directory, rerun your test there, and you should see similar results. >

Re: umask problem: wrong permissions for new files

2018-04-26 Thread Ulli Horlacher
On Fri 2018-04-20 (07:25), Brian Inglis wrote: > Cygwin supports Windows ACLs as POSIX ACLs, which are also supported by > Linux. Use setfacl to set similar default ACLs (DACLs) on a Linux > directory, rerun your test there, and you should see similar results. (How) can I completly remove ACLs

Re: umask problem: wrong permissions for new files

2018-04-20 Thread Brian Inglis
On 2018-04-20 04:03, Ulli Horlacher wrote: > 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

Re: umask problem: wrong permissions for new files

2018-04-20 Thread Corinna Vinschen
On Apr 20 12:03, Ulli Horlacher wrote: > 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

Re: umask problem: wrong permissions for new files

2018-04-20 Thread Houder
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

Re: umask problem: wrong permissions for new files

2018-04-20 Thread Houder
On Fri, 20 Apr 2018 12:03:57, Ulli Horlacher wrote: > 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

umask problem: wrong permissions for new files

2018-04-20 Thread Ulli Horlacher
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;