Giter Site home page Giter Site logo

bitmeal / cap-grant-ld Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 18 KB

run executables with capabilities, while using shared libraries from locations in $LD_LIBRARY_PATH, as non-root user

License: Mozilla Public License 2.0

CMake 30.19% Makefile 7.39% C 59.12% Shell 3.30%
capabilities dynamic-linking ld-library-path libcap-ng linux-capabilities setcap ros ros2

cap-grant-ld's People

Contributors

bitmeal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

picknikrobotics

cap-grant-ld's Issues

Incomplete setup with ROS2 Foxy

Hi,

I'm looking for a cleaner solution than what we achieved with shadow-robot/ethercat_grant#10 on Ubuntu 20 with ROS2 Foxy & SOEM.

Initial compilation failed with the following error :

--- stderr: cap_grant_ld
CMake Error at CMakeLists.txt:36 (file):
  file does not recognize sub-command REAL_PATH

REAL_PATH require Cmake 3.19. It might be useful to edit the CMakeList accordingly. Also, for people using ROS, How can I update/remove cmake without partially deleting my ROS distribution? might be useful.

I also installed libcap-ng-dev & libprocps-dev with rosdep install --from-paths src --ignore-src -r -y from the workspace folder.

Compilation went fine but it seems that "/install/cap_grant_ld/share/cap_grant_ld/local_setup.bash" is missing, preventing the use of the package in a Launch file at the same time. Do you know how to solve this issue ?

Thank you for your work !
Cheers

Not working on Ubuntu 22.04 + ROS 2 Humble

Hello,

I'm currently working with the following setup:

  • Ubuntu 22.04
  • ROS 2 Humble
  • SOEM

With root user the EtherCAT interface is working properly.
I've installed cap_grand_ld with colcon and used prefix = 'ros2 run cap_grant_ld cap_grant_ld' in the launch file. The launch works correctly as the node starts but when it tries to connect to EtherCAT I get an error saying that the interface is not available. It's the same interface as with root user.

Could I be missing something regarding the installation for ROS packages?

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.