|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Beta Testers: Permissions on the RoboRio
Beta Test Teams:
Is it possible to view/read anything in the /dev/ folder once you ssh to the robot? Or do you have to be a specific user? We don't want to write, just read. And are we prevented from running processes external to the main robot process? Last edited by NRLeuenb : 15-11-2014 at 10:32. |
|
#2
|
|||
|
|||
|
Re: Beta Testers: Permissions on the RoboRio
Quote:
The admin user has full read/write to the dev directory. You can also make your own users as well. First and NI do not lock down the file system at all. You can also execute your own processes, and terminate any processes you wish - obviously that comes with the cautionary of things to ensure u dont terminate or block the robot code. The only folder which I believe admin cant write too is the /proc folder, but I will have to check that later Again this has been our experience with the Beta hardware, and FIRST has the right to make changes for the actual production hardware, but I doubt FIRST or NI will change this in the production system because its so close to kick off, so its a good bet that the released version will also have full root access to the filesystem. Last edited by NotInControl : 15-11-2014 at 12:09. |
|
#3
|
|||
|
|||
|
Re: Beta Testers: Permissions on the RoboRio
Quote:
As far as I have been able to tell, admin is root, which means that you have free reign over the box. We are running our robot code as a set of ~10 processes communicating over shared memory IPC on the roboRIO. Works flawlessly. |
|
#4
|
||||
|
||||
|
Re: Beta Testers: Permissions on the RoboRio
On a side note, what init system does it run?
|
|
#5
|
||||
|
||||
|
Re: Beta Testers: Permissions on the RoboRio
Thanks to all who responded, that was very helpful!
|
|
#6
|
|||
|
|||
|
Re: Beta Testers: Permissions on the RoboRio
Systemd, I believe that answers your question, correct?
Regards, Kevin |
|
#7
|
||||
|
||||
|
Re: Beta Testers: Permissions on the RoboRio
Yes, it does. Thanks!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|