Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ps3joy*.py kills itself if not root, even if user has access to device #53

Closed
Lopako opened this issue Apr 30, 2013 · 3 comments
Closed

Comments

@Lopako
Copy link

Lopako commented Apr 30, 2013

In ps3joy.py and ps3joy_node.py [[https://github.com/ros-drivers/joystick_drivers/blob/groovy-devel/ps3joy/scripts/ps3joy_node.py#L566-L568]]
, the start of the script blindly checks if not root user and then quits if anything else, even if current user has permissions to access the device. It should check if the current user's actual access is fine, or at the very least, provide an override option to allow running as non-root.

Related to #51 and comments.

@jbohren
Copy link
Member

jbohren commented Apr 30, 2013

I'd be happy to accept a PR that does what you describe.

@felix-kolbe
Copy link

Uhm, does anyone know which rights are actually needed? And if they would be [named] the same on every system.

felix-kolbe pushed a commit to felix-kolbe/joystick_drivers that referenced this issue Jan 14, 2014
@JWhitleyWork
Copy link

Closing due to lack of response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants