From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23100 invoked by alias); 28 Jan 2016 16:06:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23085 invoked by uid 89); 28 Jan 2016 16:06:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Properties, ace, aces, rwdwdacwo X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 28 Jan 2016 16:06:57 +0000 Received: from [217.7.72.1] by 3capp-gmx-bs39.server.lan (via HTTP); Thu, 28 Jan 2016 17:06:53 +0100 MIME-Version: 1.0 Message-ID: From: "Rainer Blome" To: cygwin@cygwin.com Subject: Aw: Re: chmod failed: Invalid argument Content-Type: text/plain; charset=UTF-8 Date: Thu, 28 Jan 2016 17:23:00 -0000 Sensitivity: Normal In-Reply-To: <20160128144429.GC27369@calimero.vinschen.de> References: , <20160128144429.GC27369@calimero.vinschen.de> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-UI-Out-Filterresults: notjunk:1;V01:K0:Habkex4D5U8=:1B2F8RFgSPfr3ZtlmJplzs ViBX+w6lrLpzqir70o6FRTvtH/QfrE39d99snUAocXhowDKkkR8h3w7jghLs2W4dM8gpG4D6u U8+CcqvQyNs4swCh0LP1t+XUZiK1i0HQtFlZem8lOG2Bl3Hvm+IbLlE25cBMf8rTZnLq+F7EB X6/YsmgS/Rj4LF4DuxAmKxpo4G4iX7D9gagmB1u1ENeO2P8aCuI3rxs1PkgdTYH04wCxg2wv+ qT2LL4uHw3xYcAT3gRx6oZ8Tei0WolRZsjfGAAdY74X9pnGEjWUmEnmLVHyP4yk3ULzuIKDml lBvojGUZHLbet0GKkODsIpcRFjRBGpu/ZeI7K7Z5IXhaQFyDcN+S4XkjNvxingPC9dj0s+HXV nDWo0j7O6fSpeU5KV/CZLRqZCd5DwHbCuAwQucU2TZZwGcAA2ZgKxYL3vo58DmZt/Xbt+G7kx FVlaruxbOQ== X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00426.txt.bz2 > Corinna Vinschen wrote 2016-01-28 15-44: > On Jan 28 15:24, Rainer Blome wrote: > > The "In-Reply-To" is still missing in your mails, so you're invariably > breaking threading. T'would be nice if you could make your mailer > behave :) This is the first time that I have a mail to reply to, hope the threading is preserved now. =20 > > > Corinna Vinschen wrote: > > > On Jan 28 01:27, Christopher Cobb wrote: > > >> Or maybe chmod is broken, like it is on my machine: > > >> $ chmod 777 x > > >> chmod: changing permissions of =C3=A2x=C3=A2: Invalid argument > >=20 > > > Can you please send the icacls output of the current directory and > > > the icacls out for the file x? > >=20 > > Here are the icacls outputs for the test case: > >=20 > > $ umask > > 0027 > >=20 > > $ mkdir bar > > $ cd bar > > $ icacls . > > . hostname\username:(I)(OI)(CI)(F) >=20 > This... doesn't look like an ACL created by Cygwin. ---- $ type mkdir mkdir is hashed (/usr/bin/mkdir) $ md5sum /usr/bin/mkdir 25471314acd68f352523ba17eafbb7f9 */usr/bin/mkdir ---- > If you're running Cygwin 2.4.1, CYGWIN_NT-6.1 hostname 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin > the acl should always at least contain ACEs for the > default POSIX perms, plus a NULL ACE: >=20 > foo NULL SID:(DENY)(Rc,S) > VINSCHEN\corinna:(R,W,D,WDAC,WO) > VINSCHEN\vinschen:(R) > Everyone:(Rc,S,RA) In Windows Explorer -> `bar` -> RMB -> Properties -> Security -> Advanced, I am told that it inherits ist permissions from `base`, the parent of `bar`. (To be precise, it inherits from its grandparent, but I assume that the length of the ancestor chain is not important here.) > For directories also inheritable default perms for "CREATOR OWNER" and > "CREATOR GROUP". Is that really a Cygwin mkdir?!? As far as can see, yes, see above. > And then, what about > this unknwon group with gid 213? What does >=20 > $ getent group 213 >=20 > print? Something's weird here... getent group 213; echo $? 2 -- 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