delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/16/16:38: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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=sYuBziLTTTnW2r0P
kzMdyZ6FWAXxnW5Gr7GO4C1pdNiuRslt8ChvNcQi3ocywbwTkAAmIWfUSrBs3+Kw
RxdkstU1/KmpmHcm+lctsP6YATdE1R/BK4HStYDwIOUmOeoGMz7lDj/9Wll1JhLy
LRv/pi1UlCHoolpAFTIrBHAqh/o=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=duOMpn+HTZ1eP7jmVMphOx
7p1ow=; b=vUFBNSYIFfJ6ut1ku9FqZFCrJ1uNrqPFBAbR7LNZpT6BLeB9xA2yII
LqLRpDdiEXnfg3TAjRPf+C/jsVW5/pyjwUgH0+wBAoQTbvtf0YVyQ9YkX5RQ6Oxd
R9AHf/tZY5RKbyu2FdkmKIUJiRQLs0QheaQypnZfw7N/qE0/ouNRo=
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=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Here's, Heres, premium, H*MI:sk:5711925
X-HELO: mail-wm0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ocXHRUp7MTTjI54G4Zbe5+9Klt7tJ8p/+SON4lwbb5o=; b=hK94f7t4bOwdAGsdbsTpS6+HM+dSeso7zGwGCqPLtW8stk51Ls7jVfXKUKFHElDmdo MRpJbxyNS9hQpy8cSh3ZNNHgukxfWUesjQ+AJPVr8o1F47cqV6g9vspmVdfBKZ3BQsTv cJdXh3FliOfTiTPq+CI/cHz917g1uC3P9sx9Kz1DKEOZgmpzI9CA7wSH53YS13uNdU9S yQE1kJ7JHqwCwYkdJ61pFwB8tXXAol+irv2EWoqcQs/UF/6X9T0zYKMB7NcYjFepsVWf aRd+3+6ic4eT16elWmxd8SGtCUXWIfSFQVKwxWYkzSLHVpU616KIabDKBE3nE41yanCs o5VA==
X-Gm-Message-State: AOPr4FXbExKJ0bDqBUXiu8RDoHyrvQaVwzFDu4GM60XiNu3LkGxw+eUr+7Oe3E7ysI75IA==
X-Received: by 10.194.74.231 with SMTP id x7mr27240790wjv.60.1460839096535; Sat, 16 Apr 2016 13:38:16 -0700 (PDT)
Subject: Re: file permission problem
To: cygwin AT cygwin DOT com
References: <5711925B DOT 7070506 AT ca DOT rr DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <18b4b0d7-e277-9568-642e-7807c8140b2e@gmail.com>
Date: Sat, 16 Apr 2016 22:38:08 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <5711925B.7070506@ca.rr.com>
X-IsSubscribed: yes

On 16/04/2016 03:16, Barry Gold wrote:
> I updated my cygwin to the latest 32-bit version (I hope), and I'm
> having a problem with file permissions. Newly created files and
> directories lack write permission even for the owner.
>
> Here's some relevant stuff from my Cygwin shell window:
>
> -----------------
> ~ % umask
> 0022
> ~ % touch x
> ~ % ll x
> -rw-rw-r--+ 1 barry None 0 Apr 15 18:13 x
> ~ % ll .
> drwxrwx---+ 1 barry None 0 Apr 15 18:13 ./
> ~ % cd bin
> ~/bin % ll .
> drwxr-xr-x+ 1 barry None 0 Apr 15 18:12 ./
> ~/bin % touch x
> ~/bin % ll x
> -r--r--r--+ 1 barry None 0 Apr 15 18:13 x
> ~/bin %
> -----------------
>
> If I create a file in my home directory, the file permissions come out
> correct. But if I create a file in my bin directory, the file
> permissions are wrong -- write permission is missing, even for the owner
> (me).
>
> This is x86 cygwin on Windows 7 Home Premium Service Pack 1
>

check ACL permissions of the directory

  icacls bin

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