Skip to content

Commit

Permalink
README.md: reference to sysusers.d on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Dec 16, 2017
1 parent 661d121 commit da35e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ On Arch it should be enough to follow the [instructions for connecting a device
# Change file permissions
sudo chmod a+r /etc/udev/rules.d/51-android.rules
# add the adbusers group if it's doesn't already exist
sudo groupadd adbusers
sudo cp android-udev.conf to /usr/lib/sysusers.d/
# Add your user to the adbusers group
sudo usermod -a -G adbusers $(whoami)
# Restart UDEV
Expand Down

5 comments on commit da35e03

@Wartijn
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change I get the error: "/usr/lib/sysusers.d/ is not a directory", while "sudo groupadd adbusers" seems to work on Ubuntu 17.10

@M0Rf30
Copy link
Owner Author

@M0Rf30 M0Rf30 commented on da35e03 Dec 31, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What version of systemd are you using? Type

which systemd-sysusers
and check if it's present on your distro

@mendhak
Copy link
Contributor

@mendhak mendhak commented on da35e03 Jan 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wartijn I've created a PR - but what you can do is:

sudo mkdir -p /usr/lib/sysusers.d/ && sudo cp android-udev.conf /usr/lib/sysusers.d/

@Wartijn
Copy link

@Wartijn Wartijn commented on da35e03 Jan 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@M0Rf30 I'm using version 234

@M0Rf30
Copy link
Owner Author

@M0Rf30 M0Rf30 commented on da35e03 Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks strange. sysusers.d was introduced on 214 and on my distro sysusers.d folder is owned by systemd package. Perhaps on Ubuntu you should create by yourself. So the right suggestion is @mendhak one

Please sign in to comment.