Conflict between Cygwin 1.7 and Ubuntu for Windows 14316
Evgeny Grin
k2k@yandex.ru
Thu Apr 14 09:35:00 GMT 2016
Need to add that I'm using latest Cygwin64:
$ uname -r
2.5.0(0.297/5/3)
On 14.04.2016 12:11, Evgeny Grin wrote:
> I can reproduce the problem.
> Win10 Enterprise Build 14316 Insider Preview
> Commands:
> On cmd:
> @ echo test1>cmd-file
>
> On Cygwin sh:
> $ echo test2>cygsh-file
>
> On UoW bash sh:
> # echo test3>uowsh-file
> # cat cmd-file
> test1
> # cat cygsh-file
> cat: cygsh-file: Permission denied
> # cat uowsh-file
> test3
> # ls -alip
> total 24
> 562949953652128 drwxrwxrwx 2 root root 0 Apr 14 08:35 ./
> 562949953523895 drwxrwxrwx 2 root root 0 Apr 14 08:27 ../
> 281474976958606 -rwxrwxrwx 1 root root 1494 Apr 14 08:27 .bash_profile
> 281474976958605 -rwxrwxrwx 1 root root 6054 Apr 14 08:27 .bashrc
> 3659174697238797 -rwxrwxrwx 1 root root 7 Apr 14 08:31 cmd-file
> 1125899907090593 -rwxrwxrwx 1 root root 6 Apr 14 08:38 cygsh-file
> 281474976958608 -rwxrwxrwx 1 root root 1919 Apr 14 08:27 .inputrc
> 281474976958609 -rwxrwxrwx 1 root root 1236 Apr 14 08:27 .profile
> 1688849860368294 -rwxrwxrwx 1 root root 6 Apr 14 08:35 uowsh-file
>
> Back to cmd:
> @ icacls cmd-file
> cmd-file DESKTOP-5PNH8IH\Karlson:(RX)
> DESKTOP-5PNH8IH\Karlson:(I)(F)
> Everyone:(I)(RX)
>
> @ icacls cygsh-file
> cygsh-file DESKTOP-5PNH8IH\Karlson:(R,W,D,WDAC,WO)
> DESKTOP-5PNH8IH\Karlson:(R)
> Everyone:(R)
>
> @ icacls uowsh-file
> uowsh-file DESKTOP-5PNH8IH\Karlson:(RX)
> DESKTOP-5PNH8IH\Karlson:(I)(F)
> Everyone:(I)(RX)
>
> @ more cmd-file
> test1
> @ more cygsh-file
> test2
> @ more uowsh-file
> test3
> @ dir
> Volume in drive C has no label.
> Volume Serial Number is 0A3F-B4C2
>
> Directory of C:\cygwin64\home\Karlson
>
> 14.04.2016 11:35 <DIR> .
> 14.04.2016 11:35 <DIR> ..
> 14.04.2016 11:27 6 054 .bashrc
> 14.04.2016 11:27 1 494 .bash_profile
> 14.04.2016 11:27 1 919 .inputrc
> 14.04.2016 11:27 1 236 .profile
> 14.04.2016 11:31 7 cmd-file
> 14.04.2016 11:38 6 cygsh-file
> 14.04.2016 11:35 6 uowsh-file
> 7 File(s) 10 722 bytes
> 2 Dir(s) 103 532 670 976 bytes free
>
> On Cygwin sh:
> $ cat cmd-file
> test1
>
> $ cat cygsh-file
> test2
>
> $ cat uowsh-file
> test3
>
> $ ls -alip
> total 27
> 562949953652128 drwxr-xr-x+ 1 Karlson Karlson 0 Apr 14 11:35 ./
> 562949953523895 drwxrwxrwt+ 1 Karlson Karlson 0 Apr 14 11:27 ../
> 281474976958606 -rwxr-xr-x 1 Karlson Karlson 1494 Apr 14 11:27
> .bash_profile
> 281474976958605 -rwxr-xr-x 1 Karlson Karlson 6054 Apr 14 11:27 .bashrc
> 281474976958608 -rwxr-xr-x 1 Karlson Karlson 1919 Apr 14 11:27 .inputrc
> 281474976958609 -rwxr-xr-x 1 Karlson Karlson 1236 Apr 14 11:27 .profile
> 3659174697238797 -rwxr-xr-x 1 Karlson Karlson 7 Apr 14 11:31 cmd-file
> 1125899907090593 -rw-r--r-- 1 Karlson Karlson 6 Apr 14 11:38 cygsh-file
> 1688849860368294 -rwxr-xr-x 1 Karlson Karlson 6 Apr 14 11:35 uowsh-file
>
>
> Permissions are definitely different for file created in Cygwin.
>
--
Best Wishes,
Evgeny Grin
--
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