X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:message-id:from:to:subject :content-type:date:in-reply-to:references :content-transfer-encoding; q=dns; s=default; b=YIy93eseW08yTw6q gKvBhaUfbczEWcrfSHSZsx8YLwfwU9hBMS2z7EzJrR73pvpE+54tYuv9wqUGWumT dxPyt33Sidh0qWNyE0ErzOZ+LbUARAkbiHifs109T2VFzlK1gKyK8lCWBDuGdpwZ XAcCmjk2SdFLZ67yxe2PRIuUOJw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:message-id:from:to:subject :content-type:date:in-reply-to:references :content-transfer-encoding; s=default; bh=3sFg+ezYB2ifO0et8aPvLU g4XiQ=; b=mpnKlSeY9jOsGu0VZi5TnwRdkaMPXQfdjYpr9/p6EEOr5zA0TGWO+y 1G48T9OPG2KFF9PlhJhgKo33ZXSSAxtYHzy2G+Q91U1fAePM+5LqYy6K7I6QnXOT lh/Cdu39fYU6Fr29VGvFzqe5f8addO4uyWiPEhwIRuyXC7IIQ+r/4= 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 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 MIME-Version: 1.0 Message-ID: From: "Rainer Blome" To: cygwin AT cygwin DOT com Subject: Aw: Re: chmod failed: Invalid argument Content-Type: text/plain; charset=UTF-8 Date: Thu, 28 Jan 2016 17:06:53 +0100 Sensitivity: Normal In-Reply-To: <20160128144429.GC27369@calimero.vinschen.de> References: , <20160128144429 DOT GC27369 AT calimero DOT vinschen DOT de> 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0SG7Aqx001028 > 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. > > > 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 âxâ: Invalid argument > > > > > Can you please send the icacls output of the current directory and > > > the icacls out for the file x? > > > > Here are the icacls outputs for the test case: > > > > $ umask > > 0027 > > > > $ mkdir bar > > $ cd bar > > $ icacls . > > . hostname\username:(I)(OI)(CI)(F) > > 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: > > 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 > > $ getent group 213 > > 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