From: Herb Maeder <maeder@maeder.org>
To: cygwin@cygwin.com
Subject: Re: hard link error on Vista with recent snapshots
Date: Tue, 22 Jan 2008 09:08:00 -0000 [thread overview]
Message-ID: <20080122090800.3IC8KkrlWLBqfPM2RupzJM0D4Anzpa7DKouK2DfwyR4@z> (raw)
In-Reply-To: Corinna Vinschen <corinna-cygwin@cygwin.com> 's message of Mon, 21 Jan 2008 16:23:44 +0100.
On Jan 21 16:23, Corinna Vinschen wrote:
> On Jan 21 15:53, Corinna Vinschen wrote:
> > On Jan 19 07:30, Herb Maeder wrote:
> > > I'm seeing a error when creating hard links under Vista using the
> > > cygwin1.dll snapshots starting at cygwin1-20070802.dll (through at
> > > least cygwin1-20080112.dll).
> > >
> > > To reproduce:
> > > * stop/exit all cygwin processes
> > > * replace bin/cygwin1.dll with one of the snapshot dlls above
> > > * fire up bash and run the following commands:
> > > % rm -rf foo bar
> > > % touch foo
> > > % ln foo bar
> > > ln: creating hard link `bar' => `foo': Permission denied
> >
> > Thanks for the report. I fixed this in CVS. As it turned out, you
> > can't open a file with access flags set to 0. ZwOpenFile requires at
> ^^^^^
> ...in Vista/Longhorn.
>
> > least READ_CONTROL access.
> ^^^^
> ...in Vista/Longhorn. 0 works fine in earlier
> Windows versions.
Excellent! Thank you very much for the explanation and the quick fix.
Herb.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2008-01-21 20:35 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-10 15:40 Cygwin apps talking to Windows browsers? Jeffrey C Honig
2003-07-10 16:24 ` Igor Pechtchanski
[not found] ` <pechtcha@cs.nyu.edu>
2003-07-10 16:28 ` Jeffrey C Honig
[not found] ` <corinna-cygwin@cygwin.com>
2005-01-15 23:18 ` odd behavior of symlinks on Win XP SP2 Jeff.Hodges
2005-01-16 15:15 ` Corinna Vinschen
2005-01-17 17:01 ` Jeff.Hodges
2005-01-17 17:32 ` Christopher Faylor
2005-01-17 22:08 ` Sven Köhler
2005-01-17 23:11 ` Christopher Faylor
2005-01-31 21:15 ` odd behavior of symlinks on Win XP Jeff.Hodges
2005-02-01 19:43 ` Jeff.Hodges
2005-02-01 20:48 ` Christopher Faylor
2008-01-22 9:08 ` Herb Maeder [this message]
2008-10-10 0:36 ` invalid login gid in /etc/passwd does not show group name as 'mkgroup' Herb Maeder
2008-10-11 7:22 ` Herb Maeder
2008-10-15 5:43 ` Herb Maeder
2008-10-23 19:18 ` cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-24 17:05 ` [Fwd: Apologies for multiple messages (Please Help!)] Herb Maeder
2008-10-24 17:29 ` Dave Korn
2008-11-07 17:52 ` [ANNOUNCEMENT] Updated: OpenSSH-5.1p1-6 (-7) Herb Maeder
2008-11-07 18:36 ` Christopher Faylor
2008-11-07 21:17 ` Herb Maeder
2008-11-07 21:38 ` Herb Maeder
2008-11-07 22:10 ` Christopher Faylor
2008-11-13 1:54 ` sshd on vista error "initgroups: Permission denied" (cygwin-1.7) Herb Maeder
2008-11-13 14:51 ` Corinna Vinschen
2008-11-13 15:29 ` Corinna Vinschen
2008-11-14 7:31 ` Herb Maeder
2008-11-14 11:24 ` Corinna Vinschen
2008-11-20 4:25 ` Herb Maeder
2008-11-20 6:35 ` Herb Maeder
2008-11-20 10:46 ` Corinna Vinschen
2008-11-20 23:41 ` Herb Maeder
2008-11-20 23:53 ` Herb Maeder
2008-11-21 0:18 ` Matthew Woehlke
2008-11-21 0:49 ` Herb Maeder
2008-11-21 3:09 ` Herb Maeder
2008-11-21 7:05 ` Herb Maeder
2008-11-21 11:40 ` Herb Maeder
2008-11-21 13:48 ` Herb Maeder
2008-11-21 14:46 ` Herb Maeder
2009-02-16 16:16 ` Does CYGWIN work on Windows 2008 x86 architecture ? Freddy Jensen
2003-07-10 16:36 ` Cygwin apps talking to Windows browsers? andrew brian clegg
2003-07-10 20:51 ` Cygwin apps talking to Windows browsers? openmoz for file URLs Ralf Hauser
2003-07-10 19:11 ` Cygwin apps talking to Windows browsers? Scott W Brim
-- strict thread matches above, loose matches on Subject: below --
2009-02-16 10:05 Does CYGWIN work on Windows 2008 x86 architecture ? Martine Carannante
2009-02-16 11:07 ` Corinna Vinschen
2009-02-16 14:05 ` Martine Carannante
2009-02-16 23:10 ` Ben Kamen
2008-10-20 21:43 cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-23 13:55 ` Corinna Vinschen
2008-10-23 14:10 ` Corinna Vinschen
2008-10-23 15:40 ` Dave Korn
2008-10-23 16:21 ` Corinna Vinschen
2008-10-23 16:52 ` Dave Korn
2008-10-23 17:00 ` Freddy Jensen
2008-10-23 17:43 ` Dave Korn
2008-10-23 18:54 ` Corinna Vinschen
2008-10-28 15:05 ` Corinna Vinschen
2008-10-31 4:37 ` EMF
2008-10-31 5:01 ` Christopher Faylor
2008-10-31 22:57 ` EMF
[not found] <0ML3Dg-1JGFfa2pkd-0005xb@mx.kundenserver.de>
2008-01-21 16:16 ` hard link error on Vista with recent snapshots Corinna Vinschen
2008-01-21 16:27 ` Corinna Vinschen
2008-01-20 0:36 Herb Maeder
2006-02-06 22:52 problems with exit codes on 64-bit Windows XP Pro x64 Kevin Layer
2006-02-07 10:16 ` Corinna Vinschen
2006-02-07 10:24 ` Corinna Vinschen
2006-02-09 20:44 ` Kevin Layer
2006-02-09 20:48 ` Christopher Faylor
2006-02-07 17:59 ` Kevin Layer
[not found] <OE19prw0m25q8awYFDI000008a4@hotmail.com>
2002-11-20 16:23 ` emacs 100% cpu usage bug Christopher Faylor
2002-11-21 11:47 ` Jim Goltz
2002-11-21 11:50 ` Igor Pechtchanski
2002-11-23 14:09 ` Jim Goltz
2002-11-23 14:53 ` Christopher Faylor
2002-11-24 8:53 ` Jim Goltz
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=20080122090800.3IC8KkrlWLBqfPM2RupzJM0D4Anzpa7DKouK2DfwyR4@z \
--to=maeder@maeder.org \
--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).