Code Monkey home page Code Monkey logo

Comments (4)

NikolayPianikov avatar NikolayPianikov commented on June 14, 2024

@kiler129 could you provide more details. Steps to reproduce, build log file might be really helpful

from teamcity-runas-plugin.

KarlManong avatar KarlManong commented on June 14, 2024

I have the same issue using the latest nightly build
Flink_Build_3.log

from teamcity-runas-plugin.

sresnik-e-courier avatar sresnik-e-courier commented on June 14, 2024

I have the same issue. I'm running my build agent as root, and relying on the runAs plugin. It appears that the temp directory under the build agents working directory (~/BuildAgent in my case) is deleted and recreated after every build. However, it is created using 755 permissions. This causes builds to fail if they require access to the temp directory while using the runAs feature.

from teamcity-runas-plugin.

beatmax avatar beatmax commented on June 14, 2024

In my case, also the fact the git checkout is done as root was a problem. As a workaround I've configured the build to use a fixed directory (e.g. /home/teamcity/example), created a script with "chown -R user. /home/teamcity/example", added "user ALL=(root) NOPASSWD: /path/to/the/script.sh" to /etc/sudoers, and added "sudo /path/to/the/script.sh" as the first build step.

from teamcity-runas-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.