Open
Description
This causes user code to not be able to overwrite deployed files.
https://www.chiefdelphi.com/t/writing-to-a-json-file/379567/2
Metadata
Metadata
Assignees
Labels
No labels
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 commentedon Nov 18, 2020
So we want the
/deploy/
folder to be deployed aslvuser
? And does the rest of the deploy need to be as admin?From what I understand, the deploying user is set as
admin
here:GradleRIO/src/main/groovy/edu/wpi/first/gradlerio/frc/RoboRIO.groovy
Line 59 in 6646f69
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 asadmin
and deploying the/deploy/
folder aslvuser
. I believe that the former is better. @ThadHouse - what are your thoughts?Deploy files as lvuser not admin