public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 3.5 bug? /usr/bin/ls.exe -l and Windows dir /q disagree about file owner names
@ 2023-10-03 11:45 Cedric Blancher
  0 siblings, 0 replies; only message in thread
From: Cedric Blancher @ 2023-10-03 11:45 UTC (permalink / raw)
  To: cygwin; +Cc: Corinna Vinschen

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.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-03 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 11:45 Cygwin 3.5 bug? /usr/bin/ls.exe -l and Windows dir /q disagree about file owner names Cedric Blancher

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