[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: windows junction points vs. SVN_67460

From: Jason Malinowski <jason_at_jason-m.com>
Date: Tue, 10 Nov 2009 20:00:00 -0800

> On Nov 10, 2009, at 10:46, Stefan Sperling wrote:
>
> As far as I can tell, NTFS junctions are for directories only, and
> cannot be used for files.

Windows Vista and later extended symlinks to be proper residents of the
filesystem. NTFS junction points are still around. Look at mklink /? and
you'll see you can make all three. The equivalent API is CreateSymbolicLink.

Note the default security policy for Vista and Win7 enforces that only those
in the Administrators group can create symlinks (see Local Security Policy >
Local Polices > User Rights Assignment), and so those running with UAC on
would have to elevate in order to use this. Non-admins could not use it at
all unless their administrators adjusted security policy, which is not
likely to be the case. So you'd have a pretty bad experience for many users
no matter what you try.

Jason Malinowski

> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
> Sent: Tuesday, November 10, 2009 3:00 PM
> To: Stefan Sperling
> Cc: Bert Huijben; 'Bob Archer'; 'Ignacio G. T.';
users_at_subversion.tigris.org
> Subject: Re: windows junction points vs. SVN_67460
>
> On Nov 10, 2009, at 10:46, Stefan Sperling wrote:
>
> > On Tue, Nov 10, 2009 at 05:40:56PM +0100, Bert Huijben wrote:
> >
> >> When you create a symbolic link on Windows you have to pass whether
> >> the link will point to a directory or to a file.
> >
> > NTFS junctions also?
>
> As far as I can tell, NTFS junctions are for directories only, and
> cannot be used for files.
>
> http://en.wikipedia.org/wiki/NTFS_junction_point
>
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=24
1
> 6302
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2416381

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-11 05:01:15 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.