Go to Post As a team leader if I do not INSPIRE I have failed, and I do not like to fail. - Mike Martus [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 26-02-2016, 21:48
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,044
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Permission denied when pushing code

Quote:
Originally Posted by Jameel View Post
A few things I failed to mentioned.
- We are using Windows 7
- The roboRIO has a fresh 2016 image
- This happens on all of the laptops we try to use

After trying a bunch of things, we managed to fix this by using PuTTY to SSH into the roboRIO. We then used the "cd" command to move to the home directory for lvuser and ran "chmod u+x /home/lvuser" which essentially gives write permissions to the owner of that directory.

This is a very weird way of solving the problem but it works and I am not sure why no one else got this issue

I just received this issue after updating (repeatedly) the firmware and image on our practice robot RoboRIO. I tried your fix but it did not seem to work. Please see below for a screenshot of the errors.

I know at least a few others on CD have reported similar to identical "permission denied" errors. I am not a hardcore programmer at all, so pretend I'm very unfamilar with Linux and SSH and all that jazz and please help me (and others) diagnose this problem quickly. Thanks in advance for the prompt assistance!

EDIT (twice...) - I was able to log in to the roboRIO using PuTTY and the admin login. I was also able to login using lvuser, but when I did, I got the same "permission denied" errors upon typing "lvuser" and pressing enter. See the other screenshot below.

Is there any chmod command or other such magic that can be employed against this impenetrable directory stronghold? Help me toss 8 boulders at this thing.

And please don't tell me to reimage the roboRIO without giving me a valid reason why I should. I've done that already.
Attached Thumbnails
Click image for larger version

Name:	2-26-16 C++ Deploy Error.jpg
Views:	32
Size:	267.4 KB
ID:	20207  Click image for larger version

Name:	2-26-16 PuTTY Output.jpg
Views:	31
Size:	47.8 KB
ID:	20208  
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner

Last edited by Travis Hoffman : 26-02-2016 at 22:03.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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