[Win32utils-devel] File.symlink

Daniel Berger djberg96 at gmail.com
Tue Nov 19 14:45:51 UTC 2013

Hm, it seems you can't elevate the current process once it's started. We'd
have to shell out, I think. Let's not do that.


On Tue, Nov 19, 2013 at 7:20 AM, Daniel Berger <djberg96 at gmail.com> wrote:

> Creating a symlink in Windows requires the SE_CREATE_SYMBOLIC_LINK_NAME
> privilege. By default, that means it will fail unless run with elevated
> privileges.
> For our File.symlink method in win32-file, should we automatically (and
> temporarily) elevate the privileges to create the link? Or just let it fail
> without proper privileges?
> Regards,
> Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/win32utils-devel/attachments/20131119/1440c78a/attachment.html>

More information about the win32utils-devel mailing list