public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Walter L. <bournenoir@hotmail.com>, cygwin@cygwin.com
Subject: Re: Issues encountered with new Cygwin version
Date: Wed, 23 Sep 2015 08:20:00 -0000	[thread overview]
Message-ID: <154887677.20150923111537@yandex.ru> (raw)
In-Reply-To: <BLU182-W10FB6B21A2AEC90F71470FD4450@phx.gbl>

Greetings, Walter L.!

> I've just performed a fresh install of the latest (2.2.1) Cygwin on 64-bit
> Windows 7 and noticed 2 issues with the new version that I'd like to verify whether or not they are bugs:

> 1) The symlink to protocol file seems incorrect

> [user@hostname /etc]$ ls -l | grep protocol
> lrwxrwxrwx  1 user Domain Users     50 Sep 22 17:03 protocols ->
> /cygdrive/c/Windows/System32/drivers/etc/protocols
> [user@hostname /etc]$ ls -l /cygdrive/c/Windows/System32/drivers/etc | grep protocol
> -rwxrwx---+ 1 SYSTEM         SYSTEM  1358 Jun 10  2009 protocol

> I believe the target of the symlink should be "protocol" (i.e. singular)

Err. That is. How did no one found it earlier?

> 2) The 'touch' command creates a file with the executable bit set

> [user@hostname ~]$ touch newfile.txt
> [user@hostname ~]$ ls -l newfile.txt
> -rwxrwx---+ 1 user Domain Users 0 Sep 22 17:21 newfile.txt

> I am fully aware that Windows programs (e.g. Eclipse and Windows Explorer)
> will create files with the executable bit set due to ACL and NTFS
> permissions. However, if I 'touch' a file inside an earlier version of
> Cygwin

Define "earlier" ? The permissions handling has been extensively rewritten
since 1.7.34.

> the file would be created without the executable bit set (i.e. 644).

Which will then prevent opening it from Explorer by file association.

> To be honest, I can't tell if this is caused by the new version of Cygwin or a Windows Update.

Likely it is caused by the change in Cygwin permissions handling.
It now correctly inherit permissions in most cases.

> [user@hostname ~]$ uname -a
> CYGWIN_NT-6.1-WOW hostname 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin


-- 
With best regards,
Andrey Repin
Wednesday, September 23, 2015 11:12:34

Sorry for my terrible english...

  reply	other threads:[~2015-09-23  8:20 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22 23:04 Walter L.
2015-09-23  8:20 ` Andrey Repin [this message]
2015-09-23 14:47   ` Walter L.
2015-09-23 16:20     ` Andrey Repin
2015-09-24  2:39     ` Linda Walsh
2015-09-24  4:34       ` Walter L.
2015-09-24  4:43         ` Linda Walsh
2015-09-24 10:35           ` Andrey Repin
2015-09-24 13:21           ` Walter L.
2015-09-24 16:49             ` Linda Walsh
2015-09-24 18:35               ` Andrey Repin
2015-09-25 15:01               ` Walter L.
2015-09-25 15:23                 ` Ken Brown
2015-09-25 16:04                   ` Ken Brown
2015-09-25 18:01                     ` Walter L.
2015-09-25 18:24                       ` Ken Brown
2015-09-25 18:37                         ` Walter L.
2015-09-26  9:21                 ` Andrey Repin
2015-09-26 20:26                   ` Walter L.
2015-09-26 22:10                     ` Ken Brown
2015-09-27  3:56                       ` Walter L.
2015-09-27 10:05                         ` Andrey Repin
2015-09-27 14:45                           ` Walter L.
2015-09-24  2:26   ` Linda Walsh
2015-09-24  5:35 ` Marco Atzeri
2015-09-24 14:24 ` base-files-4.2-3 : attention maintainer Marco Atzeri
2015-09-24 17:29   ` Achim Gratz
2015-09-25 18:53     ` Ken Brown
2015-09-26  9:21       ` Andrey Repin
2015-09-26  9:57       ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=154887677.20150923111537@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=bournenoir@hotmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).