Symlinking

Ray Tiley's Avatar

Ray Tiley

01 Dec, 2014 05:35 AM

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. Support Staff 1 Posted by Feodor Fitsner on 01 Dec, 2014 05:52 AM

    Feodor Fitsner's Avatar

    Build Agent already runs under account with administrative permissions.

  2. 2 Posted by Ray Tiley on 01 Dec, 2014 02:37 PM

    Ray Tiley's Avatar

    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. 3 Posted by Ray Tiley on 01 Dec, 2014 02:39 PM

    Ray Tiley's Avatar

    can NOT symlink by default

  4. Support Staff 4 Posted by Feodor Fitsner on 01 Dec, 2014 02:46 PM

    Feodor Fitsner's Avatar

    Will check it out. Thanks for the link!

    -Feodor

  5. Support Staff 5 Posted by Feodor Fitsner on 01 Dec, 2014 05:44 PM

    Feodor Fitsner's Avatar
  6. 6 Posted by Sebastien Lambl... on 31 Mar, 2016 01:44 PM

    Sebastien Lambla's Avatar

    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?

  7. Support Staff 7 Posted by Feodor Fitsner on 31 Mar, 2016 01:48 PM

    Feodor Fitsner's Avatar

    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

  8. 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