delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/15/21:17:04

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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=Lue
7KBAihFgmgwnWrX52liNgGY8u7NiLGguz1zID3MsntPMYtzcG7fRq1IKUJGj9zyY
VwUkAzZQf5JG7tlHxEQVQ513JOwY0o+kTFbhr/JUMYC653aThxQlTWPgN/3Rw80W
PBHZjNkVm6OeuQdszVO/RUpOUG+AUDbvuu/AV1oA=
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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=FfPmXM1Vh
TX1LIOY0SyM3muUKbY=; b=xlGfU9Cwy+AQUFF4Lk/f6Ig39ONUPqAHQDWZRzGBT
Izyl4WUWmGcAUa+7O6GnEWR48amn+9NRq2VRst3+Q5kcn6/PmbRMySdwL8za3u4I
DhgzjkIv98xoRB/8tZRPJ7j7xyy7v0CIIcCj5AhVFqTPThqVPNQVgTyx3Wj0exrR
D4=
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=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Premium, rr, premium, barry
X-HELO: dnvrco-oedge-vip.email.rr.com
Message-ID: <5711925B.7070506@ca.rr.com>
Date: Fri, 15 Apr 2016 18:16:11 -0700
From: Barry Gold <barrydgold AT ca DOT rr DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: file permission problem
X-RR-Connecting-IP: 107.14.64.118:25
X-Authority-Analysis: v=2.1 cv=DKUB4k9b c=1 sm=1 tr=0 a=WGFCqYEiKNaWQC1QjXcIqg==:117 a=WGFCqYEiKNaWQC1QjXcIqg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=bynrLLO3AAAA:8 a=abIPi3BspKuj8zzkVOQA:9 a=QEXdDO2ut3YA:10 a=E73dgv5t3MkA:10

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


-- 
On Beta, we'd have earrings for that. You could buy them in any jewelry store.
http://www.conchord.org/xeno/bdgsig.html


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