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:to:subject:message-id:reply-to :mime-version:content-type; q=dns; s=default; b=FUbVG+WlvcZzl7Bh RzJDWgHe+QWd+zIomsCvZ7L9o2RqJa/FJteHoLRfWheTn2A3iGYLR9IoJJJYgzG3 0qDXS8WQX3EAlYjod4/wf9aUF33OQR0hIfBSB4CM7j3uBrGpQqlmMLw8JA4j/eXt qdO2sGwvKMdJWfTZolX7cbUwgsU= 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:to:subject:message-id:reply-to :mime-version:content-type; s=default; bh=z+DEuzRZEa/ybjgvQGbOh2 pHwYc=; b=JKYhdRnvMVFO1NbkEicQmOAdXlkZKeOmhRNfvRA3HoNrj6WW6ngclC 13yEYwh8MZFTL2kpygyiBO52zhCtv4GutpI3ziDOm6iX1bHneHbZmWlmAD6KYOFL Jty7QeVWQdMsXajy8l+zY3iJv6XZ7xdtfL/dULaw0VaQ8CXZTC1Fw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Date: Wed, 22 Jun 2016 12:40:15 -0600 From: Zube To: cygwin AT cygwin DOT com Subject: wget 1.17.x creates odd permissions on downloaded files Message-ID: <20160622184015.GA73575@quantum.stat.colostate.edu> Reply-To: Zube AT stat DOT colostate DOT 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 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