|
Boost : |
Subject: Re: [boost] Git hardlinks, and developing
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2013-12-04 19:58:05
On 5 Dec 2013 at 1:14, Bjørn Roald wrote:
> > Incorrect. You can create them if the calling uid has the
> > SeCreateSymbolicLinkPrivilege. Granting this to all logged in users
> > in the system is trivially achieved, and is one of the first things I
> > do on any new Windows install.
>
> Do you need admin privileges to grant SeCreateSymbolicLinkPrivilege to
> users?
You need admin privs to change privilege assignments, yes. It's a
once off though.
Note that proposed Boost.AFIO fully understands symlinks on both
Windows and POSIX, and it's written using the NT kernel API instead
of Win32 so it'll be much more portable across Windows
implementations. If you need appropriate symlink handling code for
Windows, AFIO is good place to mine it from.
Niall
-- Currently unemployed and looking for work. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk