Re: Support planned for vista symbolic links?

2007-01-31 Thread Shankar Unni

Corinna Vinschen wrote:


[..] The next major Cygwin release will be able to read
native NTFS symlinks and treats them as symlinks.  However, it's not
planned to utilize native NTFS symlinks when creating symlinks in Cygwin.


Actually, that sounds perfect. The main thing is to recognize them as 
symlinks. Thanks!



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



Re: Support planned for vista symbolic links?

2007-01-31 Thread Corinna Vinschen
On Jan 28 13:38, Shankar Unni wrote:
> This article from Mark "Sysinternals" Russinovitch discusses the new 
> "real" symbolic link feature in Vista ("real" in that it's classic 
> Unix-style, where the symlink is interpreted on the local OS, even for 
> links in mounted shares, and can refer to either a file or a directory):
> 
> http://www.microsoft.com/technet/technetmag/issues/2007/02/VistaKernel/default.aspx#S4
> 
> The only catch he mentions is that you need a special privilege to 
> create these symlinks, and that privilege is only granted to 
> administrators by default. (Usual windows reason: to "protect" users 
> from tools that are not symbolic-link-aware)
> 
> Anyway: is any support planned in cygwin and/or coreutils for this 
> feature?  (specifically, supporting symlink(), S_ISLNK support in stat, 
> etc.)

See the snapshots.  The next major Cygwin release will be able to read
native NTFS symlinks and treats them as symlinks.  However, it's not
planned to utilize native NTFS symlinks when creating symlinks in
Cygwin.  This has two reasons.

One is the above mentioned non-sensical restriction that only users with
a special privilege may create native symlinks.

The other one is that native symlinks on remote Vista shares are not
implemented transparently to non-Vista client machines trying to access
a Vista share.  An XP client can not access the target file of the
symlink by opening it.

Frustrating, isn't it?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Support planned for vista symbolic links?

2007-01-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Shankar Unni on 1/28/2007 2:38 PM:
> 
> Anyway: is any support planned in cygwin and/or coreutils for this
> feature?  (specifically, supporting symlink(), S_ISLNK support in stat,
> etc.)

coreutils will do nothing special.  Either cygwin1.dll will add support
for them, or it won't, and coreutils will just follow along for the ride.
 After all, you don't want some, but not all, of your binaries to
understand these new links via special casing, so the best place to fix it
is in cygwin1.dll.  Oh, and the usual disclaimer about PTC and SHTDI.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvRqi84KuGfSFAYARAl8EAJ0Q6iMD7dzdmNG0nm8lubjd3GJyYQCeJRsb
fwaXhsqIsL5MUu5hUfRYsmo=
=3wMp
-END PGP SIGNATURE-

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



Support planned for vista symbolic links?

2007-01-28 Thread Shankar Unni
This article from Mark "Sysinternals" Russinovitch discusses the new 
"real" symbolic link feature in Vista ("real" in that it's classic 
Unix-style, where the symlink is interpreted on the local OS, even for 
links in mounted shares, and can refer to either a file or a directory):


http://www.microsoft.com/technet/technetmag/issues/2007/02/VistaKernel/default.aspx#S4

The only catch he mentions is that you need a special privilege to 
create these symlinks, and that privilege is only granted to 
administrators by default. (Usual windows reason: to "protect" users 
from tools that are not symbolic-link-aware)


Anyway: is any support planned in cygwin and/or coreutils for this 
feature?  (specifically, supporting symlink(), S_ISLNK support in stat, 
etc.)



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