Skip to content

Deploy folder deploys as admin #408

Open
@ThadHouse

Description

@ThadHouse
Member

This causes user code to not be able to overwrite deployed files.

https://www.chiefdelphi.com/t/writing-to-a-json-file/379567/2

Activity

Starlight220

Starlight220 commented on Nov 18, 2020

@Starlight220
Member

So we want the /deploy/ folder to be deployed as lvuser? And does the rest of the deploy need to be as admin?

From what I understand, the deploying user is set as admin here:


Code is run on the RIO as lvuser.

We either change the whole deploy to be done as lvuser (in the linked line above) or split into two deploys: deploying the code as admin and deploying the /deploy/ folder as lvuser. I believe that the former is better. @ThadHouse - what are your thoughts?

added a commit that references this issue on Jun 5, 2024
linked a pull request that will close this issue on Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ThadHouse@Starlight220

      Issue actions

        Deploy folder deploys as admin · Issue #408 · wpilibsuite/GradleRIO