public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: wget seemingly modifies file access permissions on XP
@ 2016-03-30 16:28 mihau
  2016-03-30 16:44 ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: mihau @ 2016-03-30 16:28 UTC (permalink / raw)
  To: cygwin

> Remove your /etc/passwd and /etc/group files.  Don't regeneate them,
> they are not required anymore (https://cygwin.com/cygwin-ug-net/ntsec.html)
> Then try again.

unfortunately, this did not help, not even after a reboot.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* wget seemingly modifies file access permissions on XP
@ 2016-03-30 14:39 mihau
  2016-03-30 15:09 ` Corinna Vinschen
  2016-03-31 17:51 ` Herbert Stocker
  0 siblings, 2 replies; 8+ messages in thread
From: mihau @ 2016-03-30 14:39 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-03-31 17:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 16:28 wget seemingly modifies file access permissions on XP mihau
2016-03-30 16:44 ` Corinna Vinschen
2016-03-30 17:55   ` mihau
2016-03-30 20:05     ` Andrey Repin
2016-03-31 14:01     ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2016-03-30 14:39 mihau
2016-03-30 15:09 ` Corinna Vinschen
2016-03-31 17:51 ` Herbert Stocker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).