Skip to content

Use uaccess #1

Closed
Closed
@yarda

Description

@yarda

The current solution is quite dirty, breaking Linux security model. I think for interactive sessions you should use uaccess and classify all existing printers (they are mostly identified as FTDI converters). I am using the following (which works for my RepRap i3, but there are probably some more IDs around):

70-reprap.rules:

RepRap

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", TAG+="uaccess"

For headless daemons like Octoprint it's minimum overhead for the admin to just add the service user to the 'dialout' group upon installation.

Just blindly allowing all users full access to all serial devices connected through USB isn't really good idea.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions