delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/20/09:16:21

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:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=Jt+Cw44
QmMDPWgFdB07WIKQOQ1VOezIALGMQoIB8F92nY+I0K15wyK8u1opKE7PAC4pPzrL
giX9l3DmG8M2PdfSeYH8HYArIg+mzJdRO5tdil/uPibZHiT2w2zQ3LtUQ749qYLT
9rn+FeHuzjSiWREQEdK3e10mV3AAWAQpp+sM=
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:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=Uwbo96SGJpREk
uG2wLRN4/Kx/zU=; b=qDKAPvNdLTh0lFPgyEWHb3BsOc8wZMRM41WSlOAPhVRMM
AoQL+UcYPEScYsTpV3miaN0x2uCyggKeiFdEbqagK+Ogsh4KmlKSHWBTjjHnjqLP
9HSuvwXg1yeyzfspinqHx+miDtR4UuTOv1z5YaIfSl7ljWrNBfrkt2gVShCFMc=
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: Yes, score=5.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-yh0-f45.google.com
X-Received: by 10.52.243.41 with SMTP id wv9mr84877187vdc.20.1426857356426; Fri, 20 Mar 2015 06:15:56 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAA3aKc8jHZ02MMcDeJ36jgZFiLFu4gS=pDtS1f=zovaYfJud6Q@mail.gmail.com>
References: <CAA3aKc8jHZ02MMcDeJ36jgZFiLFu4gS=pDtS1f=zovaYfJud6Q AT mail DOT gmail DOT com>
From: Rexdf <weiyong DOT mao AT gmail DOT com>
Date: Fri, 20 Mar 2015 21:15:12 +0800
Message-ID: <CAFrJEvPLneS13L2EBVewRn=g6BRACfdM+7kbvjwusLHO6dkoyg@mail.gmail.com>
Subject: Re: after update to cygwin 1.7.35(0.287/5/3) all file permissions in cygwin are 070
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

> i have been using cygwin for many years and currently most of my
> systems are at 1.7.32(0.274/5/3).
> i had to get an update to cygwin/X which forced me to also update
> cygwin. with the update, nearly all windows files have the permission
> setting of 070 (---rwx---) even when the file is owned by me, and as a
> consequence most applications fail to load or cannot load dll's or
> other really annoying issues.
>
> is there some "magical" new setting to make cygwin recognize that
> files owned by me are at least r/w?
>

I don't know what is your situation, but i can give some suggestion.

AFAIK, 1.7.34+ seems to use the real Windows ACL ( at least partly).
It means that the 700 file really cannot access by other Windows
accounts.

First of all, try the follwoing code from mintty. Then restart X.
mkpasswd -l > /etc/passwd
mkgroup -l > /etc/group

If it is still 0700 and you right click Properties/Security from
windows explorer.exe to make sure your real Windows ACL permission is
true wrong. Then the following command may be helpful.

Start cmd.exe  as Administrators.
cd to folder contain cygwin folder.
Run following:

takeown /F cygwin /R
icacls cygwin /T /grant your_account_name:F

your_account_name can be get from your default cmd.exe(Run as normal
user) or maybe your cygwin mintty.exe  your_account_name AT your_PC_NAME
or your C:\Users\ your_account_name.

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