Good afternoon!

Likely question for Lady Corinna:
Can anyone please explain why Windows dir command and Cygwin ls -l
list different owners for a file?

The directory has two files, one owned by root (without mapping to
Windows, so getting a NULL SID) and one owned by me (user
cedrictest17)

Is this a Cygwin bug?

--cut--here--cut--here--cut--here--
$ uname -a
CYGWIN_NT-10.0-19045 winzott1984 3.5.0-0.423.g7ced682549ae.x86_64
2023-09-07 17:19 UTC x86_64 Cygwin
$ cmd /C 'dir /q'
03.10.2023  13:38    <DIR>          WINZOTT1984\cedrictest17.
03.10.2023  13:35    <DIR>          WINZOTT1984\cedrictest17..
03.10.2023  13:38                 0 WINZOTT1984\cedrictest17owned_by_cedric
03.10.2023  05:57                 0 \NULL SID              owned_by_root
               2 Datei(en),          8.192 Bytes
               2 Verzeichnis(se), 52.775.219.200 Bytes frei

$ ls -l
total 0
-rw-r--r-- 1 Unix_User+0 Unix_Group+0 0 Oct  3 13:38 owned_by_cedric
-rw-r--r-- 1 Unix_User+0 Unix_Group+0 0 Oct  3 05:57 owned_by_root
--cut--here--cut--here--cut--here--

Ced
-- 
Cedric Blancher <cedric.blanc...@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

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

Reply via email to