delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/22/15:04:31

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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=vpUT/b0EjnmMZmd6
duMmIB9xDdMPjBn1ITml+yHprCRERNgF7hPi4NaROPE3558Rr1OCh+/wFVSNKhON
TRheQgHE43/Aud3depBmz4GSqllgcqTiDwFLxQm91/PxOsh57FBtJyH5Dz5aS9Hd
RbxVW9fQEkbjKTUPW9viOontHno=
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:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=9flhFOQrubEW8dHubVmSov
nlF0o=; b=rK09Q6blGM7FfcqvhCaZgTDDVQbOAlu8zSjRZGqwNBpEs8Tms82HkG
Pl+G3is9JKbmM0/3xEV5VrLqwBrdu7WMvjJWtNhWvQtvIqRlxAwdFIT8RkBC9de8
3VdDHIqsumVGyqCTBNDAUIb6OoLuLhVBWsb+VrqHHbc06ep3Q9Va8=
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=1.9 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,NO_RDNS_DOTCOM_HELO,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:U*reply-to-list-only-lh, larry, HX-Envelope-From:sk:reply-t, H*F:U*reply-to-list-only-lh
X-HELO: vms173023pub.verizon.net
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=btqxfxui c=1 sm=1 tr=0 a=hkQRW7prCrFMEwk2DGUM9Q==:117 a=N659UExz7-8A:10 a=pD_ry4oyNxEA:10 a=lREskphJAAAA:8 a=N7vq4KHF6i7C_iIHl_AA:9 a=pILNOxqGKmIA:10
Reply-to: cygwin AT cygwin DOT com
Subject: Re: wget 1.17.x creates odd permissions on downloaded files
References: <20160622184015 DOT GA73575 AT quantum DOT stat DOT colostate DOT edu>
To: cygwin AT cygwin DOT com
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Message-id: <576AE10A.5050605@cygwin.com>
Date: Wed, 22 Jun 2016 15:03:38 -0400
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-version: 1.0
In-reply-to: <20160622184015.GA73575@quantum.stat.colostate.edu>

On 06/22/2016 02:40 PM, Zube wrote:
> wget 1.16.3 seemed to work fine for a simple task, that is to download
> putty.exe from a local http site.  Start up a normal windows cmd.exe,
> download, run, no muss, no fuss.
>
> The last two wget versions (1.17.1-1 and -2) seem to exhibit the
> following issues when putty.exe is downloaded.
>
> 1) putty will not execute.  Error is "Access is denied".
>
> 2) Examining the permissions on putty.exe, the first thing that
> comes up is an error that reads:
>
> "The permissions on putty.exe are incorrectly ordered, which may
> cause some entries to be ineffective."
>
> The permissions are odd.  When compared to a working machine (wget
> 1.16.3, cygwin 2.3.1) there is an additional group ("NULL SID") with
> special access of type Deny and several of the other users and groups
> have similar "type Deny" restrictions.
>
> If I use a browser to download the file or a different version of wget
> (e.g. https://eternallybored.org/misc/wget/) and drop putty.exe in
> the same directory, there are no issues.  It also doesn't matter where
> the file is dropped.
>
> This occurs on both a Windows 7 64-bit machine that has had
> 32-bit cygwin upgraded multiple times and on a new Windows 10
> 64-bit machine with 32-bit cygwin installed fresh.  It occurs
> under cmd.exe and also under Cygwin.bat, for both administrators
> and non-administrators.
>
> Any help greatly appreciated.  Thank you for your time.

Remember, Cygwin's wget will not create a file with execute permissions
automatically.  You have to do a "chmod +x putty.exe" if you want it to
be recognized as an executable.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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