Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Permission denied (http://www.chiefdelphi.com/forums/showthread.php?t=143667)

mattoreo310 11-02-2016 19:34

Permission denied
 
Hello,

If anybody can help with this error that would be great.

Buildfile: C:\Users\Robotics Team 4012\workspace\Getting Started\build.xml
Trying to override old definition of task classloader
get-target-ip:
[echo] Trying Target: roboRIO-4012-FRC.local
[echo] roboRIO not found via mDNS, falling back to static USB
[echo] roboRIO found via static USB
dependencies:
[echo] roboRIO image version validated
deploy:
[sshexec] Connecting to 172.22.11.2:22
[sshexec] cmd : rm -f /home/lvuser/FRCUserProgram
[sshexec] Could not chdir to home directory /home/lvuser: Permission denied
[sshexec] rm: can't stat '/home/lvuser/FRCUserProgram': Permission denied
[sshexec] Remote command failed with exit status 1
[echo] [athena-deploy] Copying code over.
[scp] Connecting to 172.22.11.2:22

BUILD FAILED
C:\Users\Robotics Team 4012\wpilib\cpp\current\ant\build.xml:67: com.jcraft.jsch.JSchException: Could not send 'C:\Users\Robotics Team 4012\workspace\Getting Started\Debug\FRCUserProgram' to '/home/lvuser' - 3: Permission denied

Total time: 4 seconds

ATannahill 11-02-2016 19:50

Re: Permission denied
 
Quote:

Originally Posted by mattoreo310 (Post 1538838)
Hello,

If anybody can help with this error that would be great.

Buildfile: C:\Users\Robotics Team 4012\workspace\Getting Started\build.xml
Trying to override old definition of task classloader
get-target-ip:
[echo] Trying Target: roboRIO-4012-FRC.local
[echo] roboRIO not found via mDNS, falling back to static USB
[echo] roboRIO found via static USB
dependencies:
[echo] roboRIO image version validated
deploy:
[sshexec] Connecting to 172.22.11.2:22
[sshexec] cmd : rm -f /home/lvuser/FRCUserProgram
[sshexec] Could not chdir to home directory /home/lvuser: Permission denied
[sshexec] rm: can't stat '/home/lvuser/FRCUserProgram': Permission denied
[sshexec] Remote command failed with exit status 1
[echo] [athena-deploy] Copying code over.
[scp] Connecting to 172.22.11.2:22

BUILD FAILED
C:\Users\Robotics Team 4012\wpilib\cpp\current\ant\build.xml:67: com.jcraft.jsch.JSchException: Could not send 'C:\Users\Robotics Team 4012\workspace\Getting Started\Debug\FRCUserProgram' to '/home/lvuser' - 3: Permission denied

Total time: 4 seconds

Can you tell us how you are connected to the roboRIO? ethernet or USB?

Have you changed the log-in information for the lvuser account on the roboRIO?

fsilberberg 11-02-2016 19:51

Re: Permission denied
 
Did you try anything I suggested on the other thread? My suggestion remains reimage your RoboRIO. Something is messed up with the permissions on the /home/lvuser directory, and the simplest way should be to reimage it.

mattoreo310 12-02-2016 07:18

Re: Permission denied
 
Fsilberberg, we reimaged the roborio but I am not the programmer. This happened after they left when I tried to deploy the program. I'm not sure if the other errors are there.


Rtfgrow, we are using usb to connect to the roborio.

Thank you both for the help.

ATannahill 12-02-2016 19:18

Re: Permission denied
 
Quote:

Originally Posted by mattoreo310 (Post 1539005)
Fsilberberg, we reimaged the roborio but I am not the programmer. This happened after they left when I tried to deploy the program. I'm not sure if the other errors are there.


Rtfgrow, we are using usb to connect to the roborio.

Thank you both for the help.

I want to make sure I have all the facts straight. Is this the order that things happened? Did you do anything else?

1. The programmers left
2. you reimaged the roboRio
3. you tried to deploy the code

What language are you using?

Travis Hoffman 26-02-2016 22:18

Re: Permission denied
 
I am having similar problems and detailed what I am seeing in this post - http://www.chiefdelphi.com/forums/sh...48&postcount=9.

Any help anyone in the know could lend would be appreciated!

Landonh12 26-02-2016 22:34

Re: Permission denied
 
Quote:

Originally Posted by rtfgnow (Post 1539378)
What language are you using?

He is using C++.

Quote:

BUILD FAILED
C:\Users\Robotics Team 4012\wpilib\cpp\current\ant\build.xml:67: com.jcraft.jsch.JSchException: Could not send 'C:\Users\Robotics Team 4012\workspace\Getting Started\Debug\FRCUserProgram' to '/home/lvuser' - 3: Permission denied


All times are GMT -5. The time now is 00:40.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi