From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93830 invoked by alias); 22 Jun 2016 18:40:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 93821 invoked by uid 89); 22 Jun 2016 18:40:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=examining, Hx-languages-length:1422, H*M:stat, H*MI:stat X-HELO: quantum.stat.colostate.edu Received: from quantum.stat.colostate.edu (HELO quantum.stat.colostate.edu) (129.82.129.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jun 2016 18:40:17 +0000 Received: (from zube@localhost) by quantum.stat.colostate.edu (8.15.2/8.15.2) id u5MIeFTJ074034 for cygwin@cygwin.com; Wed, 22 Jun 2016 12:40:15 -0600 Date: Wed, 22 Jun 2016 19:05:00 -0000 From: Zube To: cygwin@cygwin.com Subject: wget 1.17.x creates odd permissions on downloaded files Message-ID: <20160622184015.GA73575@quantum.stat.colostate.edu> Reply-To: Zube@stat.colostate.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Times-Square: Two Math Terms User-Agent: Mutt/1.6.1 (2016-04-27) X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00302.txt.bz2 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. Cheers, Zube -- 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