X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD4653858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1696333587; bh=S2eLxno/Yn9zvcOCF4S5ArQY5YKn4netjuJsDULsYds=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=tdXRih+5lY+ovqvRX+BS2SxtoVbofPudTi5vj8/8SEW53V5DhSr+E55PfBM1ovndK /hFpTiJk+AwtSdNEElUuuXokHGHNL6S4D0GbDH1M2ge3DqTDyQ3TrnQeHA4xs8zZnb VqIa7gfYBZogUYlq8rxjI4i++pfa9dwOQ2zWE0fI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A96D3857343 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696333571; x=1696938371; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ImQ7zZ8nmdMAKyETAMcapQCpTmu/PFXEkCPmtner/sI=; b=DTYyYpHNZlp8hA/6ZrL2oE2DQ53ho9i0mvKxOuYU1bTyumCsE2404Vu03aZAn8PF76 DqoVrvmLSO9iFLfk3R5oue8cK7p1T6AXB7GjtEQClBZ/c4h8fMIObJEcyjUwiR7QAPKM hojkENUG8KIECiMaZ2Zicvt7QxQALBIgMWSSVyPO5TuudkFyK9EANOaV1sKPO7OElTvs kXhHnRH+RimV2PzzsMDDofg0oMbjb1BiBb9mArDAOzn2O6qiORD4/JxEIFNuQ3/ZkzVi +8YQSzi48e6QflpEOB43zeMws+8ZAWuJEvbgWG1NVNsXxB8QZtWtMddwfkS/zRVbgXzT qa/w== X-Gm-Message-State: AOJu0YyIkcF3LpLOIg2pex3kNBq9F34UJS5H/bJXc3hOpG308UIlFSZN FAL1uQ/gXCdLmYxJyMleFam3MRQZ1259+nvc/ieXfwGg9y4= X-Google-Smtp-Source: AGHT+IFl1dkfdSkhw9MaHwyhGKcbK8HD33iADbt5Z13lXg0Nq1U/qhriRCMHwDsSP3nv5AyKfhBWArx8d9nD4qVmUFc= X-Received: by 2002:a05:6402:1f0e:b0:530:7ceb:334 with SMTP id b14-20020a0564021f0e00b005307ceb0334mr14296198edb.3.1696333570360; Tue, 03 Oct 2023 04:46:10 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 3 Oct 2023 13:45:34 +0200 Message-ID: Subject: Cygwin 3.5 bug? /usr/bin/ls.exe -l and Windows dir /q disagree about file owner names To: cygwin AT cygwin DOT com Cc: Corinna Vinschen X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Cedric Blancher via Cygwin Reply-To: Cedric Blancher Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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 WINZOTT1984\cedrictest17. 03.10.2023 13:35 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 [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