[quote="miguelprada, post:6, topic:7188"] Just wanted to point out [this answer ](https://answers.ros.org/question/133966/install-directly-to-etcudevrulesd/?answer=212041#post-id-212041) by Mike Purvis about how udev rules may/should be installed by packages. [/quote] Nice, I didn't know about that! [quote] Not sure this directly translates to packages being built/installed locally, though. [/quote] When installing a package from source, the udev rules have to be installed manually. It turns out that `kobuki_ftdi` uses the technique you mentioned above to install the udev rules from the binary package, and the `create_udev_rules` script is provided for users that build from source. To come back to the original question by @andersfischer: I would label `sudo` in scripts as a warning, not an error. There are instances where `sudo` inside a script would be very bad (e.g., when that script is executed from the CMakeLists), and I can't think of a case where it cannot be avoided, but in some instances it's relatively harmless. --- [Visit Topic](https://discourse.ros.org/t/sudo-usage-in-rosdistro-packages/7188/7) or reply to this email to respond. If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates. ______________________________________________________________________________ ros-users mailing list ros-users@lists.ros.org http://lists.ros.org/mailman/listinfo/ros-users Unsubscribe: