delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/30/10:40:05

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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=MuO
k50tHbhCDtOhk4W8r6mjrMfy5wjwtGyrJRLCUl/BSZUKSei+rUfIZTgTTgWpeVHN
Idj2lfOl+9VkRK0kIcBf1WZaPBi5CEjZ0sI3iA1BwWGjp0aAmHLJlMpVRmK6UwW/
LW9ClOnJd29ELf/6jqefBv2i8mubWm9z3noZFHFM=
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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=LrUNorwoD
KbKldRxOi12fB4wD0c=; b=J3OlMSMXxdx5W2L/fa91ZWJuZ62SqQoxU4lNvbjqx
+mIZ25cSWyn670p6aGcZT+EU5NnDlHiRopY2tQc636fnru7l6BeD6si8my74A1WJ
i/Z2N4fdoO7Cuip8N/n6IQsHxklmuCWRkmgD8Z5Rs4ervDcaOexRGdsQAdG30+Vu
Bc=
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=3.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Win, UD:exe, stumbled, cmd.exe
X-HELO: ms-10.1blu.de
From: mihau <mh AT mihau DOT de>
Subject: wget seemingly modifies file access permissions on XP
To: cygwin AT cygwin DOT com
Message-ID: <56FBE524.8060309@mihau.de>
Date: Wed, 30 Mar 2016 16:39:32 +0200
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
X-Con-Id: 210367
X-Con-U: 0-mh

hello,

(my setup is latest cygwin 32bit on Win XP SP3, logged in as Administrator)

I have just updated my cygwin installation after a year or so and stumbled upon
weird behavior with its wget build. it seems to screw file access permissions on
downloaded files, rendering e.g. downloaded exe files unusable (because even the
administrator doesnt have the rights to execute them).

this hasn't happened before today, but unfortunately I cannot tell a. whether wget
was updated today at all and if it was, b. which version I had installed before.

I'm aware that attaching log files is the preferred way here, but in this
case I have made screenshots because they show perfectly what's going on.
so from within cmd.exe this simple command 'C:\>wget http://mihau.de/' is executed.

screenshots of the corresponding "file properties | security tab" dialogs:
http://mihau.de/properties_dialog.png
left side: index.html downloaded with both 1.16.3 and 1.17.1 versions of GNU Wget built
on cygwin. note that "Users" is also there but out of visible range and I cannot resize
the dialog for the screenshot.
right side: the same file downloaded with 1.17.1 built on mingw32, as dowloaded from
https://eternallybored.org/misc/wget/ (wget-1.17.1-win32.zip to be exact)

seconds before hitting "send" here, I realized that the problem also exists if wget
is run from within bash/mintty; in this case, there's even more "ghost" groups added
as you can see in the screenshots above: there's one additional group "Power Users"
and sometimes also a very long, numeric entry such as "S-457547547457-3434636436-"
whcih disappears after a second or so.

I tried uninstalling, then reinstalling wget with setup*.exe, it didn't help.
the only workaround I can currently come up with is simply replacing the cygwin
build with the ming32 one; seems to work fine so far.

hope my description/problem explanation was accurate enough.

does anyone have an idea what may have happened that causes this?

many thanks
Michael

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