lua-users home
lua-l archive

Re: Small issue with lfs compiled under mingw

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Aug 9, 2011 at 11:25 AM, Patrick Rapin <toupie300@gmail.com> wrote:
> Unfortunately, for some strange reason, creating symbolic links
> requires the special SeCreateSymbolicLink permission, which by default
> only administrators have ;-(
> Nevertheless, it would be great if lfs.link had the same features as
> the mklink command.
>
> [1] http://technet.microsoft.com/en-us/library/cc753194%28WS.10%29.aspx
But note a comment on the linked page that says, "Hard links (/H) and
junctions (/J) do not require SeCreateSymbolicLink, so can be run
without [permissions] elevation."
I haven't tested but this suggests that it might be worth exploring if
lfs might feasibly do hard links and junctions, if someone has not
already done so.
Best regards,
Paul

AltStyle によって変換されたページ (->オリジナル) /