www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/28/09:24:41

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:content-transfer-encoding; q=dns; s=default; b=
Q0HZsE7buMydbHo4LmJ9zV0d2XUgsQ4N+EviTc9av0QaLjg+QFh6iqi1SzDimvyC
QkbRHIr7NRetfL2oMDtT7NUlxybvk19ziHF+d/RBl65IymCsC4FkEyIkk9TMoa0z
GDK9i5pZl+ITZU+NY4mDKOBptR+g60hqPnmZL4REGG4=
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:content-transfer-encoding; s=default; bh=NVDD
pD9utRGhW5x1LMHPQlIWsLI=; b=pVfLh5R6EI4V6gkeLF6u0nAuN51nILEdqFPR
6+t5WLZq+VUdwpwlyX9PtVvvMTd7CbhTkyP2nHZnshHg7RcXe2ZVzOPC8VVkY1ML
YgKaLzBStEFs52oEmNYfbZQI9pmJtYDfR7e32A7rjZB8RneyLJfzM65VyCjyJyK+
yzEp5UU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Cobb, cobb, rwx, hostname
X-HELO: mout.gmx.net
MIME-Version: 1.0
Message-ID: <trinity-f5aca8d9-16f5-41e1-a521-60beada36d8e-1453991058087@3capp-gmx-bs39>
From: "Rainer Blome" <rainer DOT blome AT gmx DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: chmod failed: Invalid argument
Date: Thu, 28 Jan 2016 15:24:18 +0100
Sensitivity: Normal
X-UI-Out-Filterresults: notjunk:1;V01:K0:BYv37+DJQzs=:JZ5GEd/dMmbi1rtUHnC2kY l3huCZ4fIbekyI3czPXVVNEmKsW6KVfyrXOL0zZ7H4WM06IdcsWReofYasHa/iinQCsavd3dC s6Nl81L0Y1BqrA6CMjGfPZ7K6sf1JyGPl58nJiuaTeY8YSkMyLVFUBGHDYv3vdkT6C/6mOpxA FsRWjW2vVQTSWSHufLbxXv+DBkl9tUOwC6GmBALiRBBiFi+cBaOOnlEl8jLg8E9MlWEBExvbH qh8XB9TblKI33ZvgYO1YZvIUQypsMVHcBVgbuPE3F/DqT9fdKwa7XKKoKRFpI4RbSygKO87OC j+Y3HZUloZxQ+s+KJRx2M+0wOLneHXZXzjHhl9PGuLddFDgIbrs03grmltNHgUNodOrEpjaqu AxQbrLaiodwtJG0gawwqk/0QwFHsEPEZjdsE5mUd5tdWFSklNQZbQGr8ws0YHd702413bvBry wMaKj5SqDg==
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0SEOcS5023613

(Apologies for not using the reply feature, I was not
subscribed when the last mail was sent. I am now subscribed.)

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

Successfully processed 1 files; Failed processing 0 files

$ touch foo
$ ls -la
total 0
drwx------+ 1 username 213 0 Jan 28 15:14 .
drwx------+ 1 username 213 0 Jan 28 15:14 ..
-rwx------  1 username 213 0 Jan 28 15:14 foo

$ icacls foo
foo hostname\username:(I)(F)

Successfully processed 1 files; Failed processing 0 files

$ icacls .
. hostname\username:(I)(OI)(CI)(F)

Successfully processed 1 files; Failed processing 0 files

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019