X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org X-Forefront-Antispam-Report: CIP:157.56.240.85;KIP:(null);UIP:(null);IPV:NLI;H:BL2PRD0410HT004.namprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -1 X-BigFish: PS-1(zz4015Izz1202h1d1ah1d2ahzzz31h2a8h668h839h944hd25hf0ah107ah1220h1288h12a5h12a9h12bdh1155h) Received-SPF: softfail (mail103-am1: transitioning domain of elynx.com does not designate 157.56.240.85 as permitted sender) client-ip=157.56.240.85; envelope-from=tboemker AT elynx DOT com; helo=BL2PRD0410HT004.namprd04.prod.outlook.com ;.outlook.com ; From: "Boemker, Tim" To: "cygwin AT cygwin DOT com" Subject: ls shows different permissions for the same file Date: Wed, 12 Sep 2012 18:57:59 +0000 Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: elynx.com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q8CIwfPt007213 Larry, Do you mean that, with a POSIX path, I get ACL-based permissions, but with Windows paths, I get just user-group-other permissions? That sounds reasonable, but shouldn't they agree as far as they overlap? In the following example, for example, shouldn't they agree whether foo is writable by Domain Users? $ touch foo # create a plain file $ ls -li c:/cygwin/home/tboemker/foo /home/tboemker/foo 14918173765807874 -rw-r--r-- 1 tboemker Domain Users 1 Sep 12 14:47 /home/tboemker/foo 14918173765807874 -rw-r--r-- 1 tboemker Domain Users 1 Sep 12 14:47 c:/cygwin/home/tboemker/foo $ chmod 666 foo $ !l ls -li c:/cygwin/home/tboemker/foo /home/tboemker/foo 14918173765807874 -rw-rw-rw- 1 tboemker Domain Users 1 Sep 12 14:47 /home/tboemker/foo 14918173765807874 -rw-r--r-- 1 tboemker Domain Users 1 Sep 12 14:47 c:/cygwin/home/tboemker/foo Thanks, Tim -- 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