delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/23/08:36:14

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=FeV3CJ7ZurwamQMm
9oIM4KV0tTGqxqcCj0UJSwqeHU8ScAkgPMv3biitphamHf3bs0/75PFkzNV54YZP
aohBby5tipAa4u8W01koqltr9IZ/fxLJwSh2l6zKaSAboBY5mHnhgebojHsR53YO
NwboESEEmggJ9z7MQc9LjCdndXc=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=d1vz8DK9J45JAFi6GVCwYA
61C+k=; b=HFH997v8s2YpQh54GzkxKDjsoOSkvmeb6r6Y8IEnpyiWeLHGIjnNgP
KGk06d/0yRKbAJ0wlVbW4UuS6kEv1gmPATWl/Q9ru1cYz4OSWBaafZzoHfNrWVgz
OFKUekenIm0gY4hW6Jo8veg3ISShd3/u2zrDrbwk1wNasCLWBRBj4=
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.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*UA:Home, H*x:Home
X-HELO: forward4h.cmail.yandex.net
Authentication-Results: smtp4h.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Thu, 23 Jun 2016 15:26:47 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <152111082.20160623152647@yandex.ru>
To: Zube <Zube AT stat DOT colostate DOT edu>, cygwin AT cygwin DOT com
Subject: Re: wget 1.17.x creates odd permissions on downloaded files
In-Reply-To: <20160623114806.GA138493@quantum.stat.colostate.edu>
References: <20160622184015 DOT GA73575 AT quantum DOT stat DOT colostate DOT edu> <1615080910 DOT 20160623133417 AT yandex DOT ru> <20160623114806 DOT GA138493 AT quantum DOT stat DOT colostate DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Zube!

>>  This is how Cygwin works around certain incompatibilities between
>>  Windows and POSIX permission models.  Do NOT fall into a trap
>>  and believe that Explorer trying to drag you to.  The permissions
>>  are correct, it's just that Explorer is unable to deal with them,
>>  because all it knows is so-called "canonical" order.

> OK.

>> If you want Windows behavior, use noacl flag on non-Cygwin mounts.

> Thank you.  As you might have seen in my follow-up, it was simply
> a change in behavior that I wasn't expecting.  Now that I expect
> it, I can certainly set the execute bit on whatever executables
> I download.

Yeah, that caught me not once, too, on new installations. But I was expecting
something like that, knowing how Cygwin handles file permissions in general.
(Read: same as Linux.)
The actual fix in each case depends on the typical usage of a given Cygwin
install. There's no silver bullet.


-- 
With best regards,
Andrey Repin
Thursday, June 23, 2016 15:23:31

Sorry for my terrible english...


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