1
0
forked from drath/libratbag

Add Readme and the policy file required

Or running ratbagd (as root) raises a "Permission denied".

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2015-10-14 11:34:27 -04:00
parent 958e86f67e
commit 17f0fc41d1
3 changed files with 38 additions and 0 deletions

0
README
View File

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
ratbagd
=======
ratbagd is a system daemon to introspect and modify configurable mice.
Running ratbagd
---------------
To be able to run ratbagd, you need to add a policy file to your dbus
environment:
sudo cp dbus/org.freedesktop.ratbag1.conf /etc/dbus-1/system.d/org.freedesktop.ratbag1.conf
License
-------
libratbag is licensed under the MIT license.
> Permission is hereby granted, free of charge, to any person obtaining a
> copy of this software and associated documentation files (the "Software"),
> to deal in the Software without restriction, including without limitation
> the rights to use, copy, modify, merge, publish, distribute, sublicense,
> and/or sell copies of the Software, and to permit persons to whom the
> Software is furnished to do so, subject to the following conditions: [...]

View File

@@ -0,0 +1,14 @@
<?xml version="1.0"?> <!--*-nxml-*-->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.ratbag1"/>
<allow send_destination="org.freedesktop.ratbag1"/>
<allow receive_sender="org.freedesktop.ratbag1"/>
</policy>
</busconfig>