Symlinking

I have a test suite that would run much faster if we the build scripts were able to symlink. In order to symlink I ether need to run the scripts as a non administrator user with the symlinking permission, or I need the script to "run as administrator", or I need to turn off UAC.

How could I accomplish this?

Thanks

-ray

  1. Build Agent already runs under account with administrative permissions.

  2. Because of UAC Administrators can symlink by default on windows systems. Is the build agent running with UAC off?

    This KB explains it pretty well.
    http://answers.perforce.com/articles/KB_Article/Enabling-Symlinks-on-Windows

  3. can NOT symlink by default

  4. Will check it out. Thanks for the link!

    -Feodor

  5. Problem still happening with symlinks hanging when using terraform on windows downloaded through choco.

    Hangs at:
    Get: file://C:/projects/lli-infra/tf/elasticsearch

    Ticket discussing the issue:
    http://help.appveyor.com/discussions/questions/750-symlinking

    Am I right in thinking the scripts run on an admin account but UAC is enabled? It's a big blocker for us. What do you suggest?

  6. UAC has been always disabled on build workers. You can verify that by RDP-ing into build machine: http://www.appveyor.com/docs/how-to/rdp-to-build-worker

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:05 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac