Difference between revisions of "Tracker Config File"

(Created page with "<pre> # cat /etc/dbus-1/system.d/org.freedesktop.Tracker1.conf <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/stan…")
 
Line 1: Line 1:
 
<pre>
 
<pre>
# cat /etc/dbus-1/system.d/org.freedesktop.Tracker1.conf
 
 
<!DOCTYPE busconfig PUBLIC
 
<!DOCTYPE busconfig PUBLIC
 
  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 
  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
Line 13: Line 12:
 
     <allow own="org.freedesktop.Tracker1.Miner.Applications"/>
 
     <allow own="org.freedesktop.Tracker1.Miner.Applications"/>
 
     <allow own="org.freedesktop.Tracker1.Miner.Extract"/>
 
     <allow own="org.freedesktop.Tracker1.Miner.Extract"/>
 +
    <allow own="org.freedesktop.Tracker1.Miner.Userguides"/>
 +
    <allow own="org.freedesktop.Tracker1.Miner.RSS"/>
 
     <allow own="org.freedesktop.Tracker1.Writeback"/>
 
     <allow own="org.freedesktop.Tracker1.Writeback"/>
 
   </policy>
 
   </policy>
Line 64: Line 65:
 
     <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"
 
     <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"
 
           send_interface="org.freedesktop.Tracker1.Miner.Extract.Priority"/>
 
           send_interface="org.freedesktop.Tracker1.Miner.Extract.Priority"/>
 +
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"/>
 +
    <allow receive_sender="org.freedesktop.Tracker1.Miner.Userguides"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
 +
          send_interface="org.freedesktop.DBus.Introspectable"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
 +
          send_interface="org.freedesktop.DBus.Properties"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
 +
          send_interface="org.freedesktop.Tracker1.Extract"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
 +
          send_interface="org.freedesktop.Tracker1.Miner.Userguides.Priority"/>
 +
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"/>
 +
    <allow receive_sender="org.freedesktop.Tracker1.Miner.RSS"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
 +
          send_interface="org.freedesktop.DBus.Introspectable"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
 +
          send_interface="org.freedesktop.DBus.Properties"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
 +
          send_interface="org.freedesktop.Tracker1.Extract"/>
 +
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
 +
          send_interface="org.freedesktop.Tracker1.Miner.RSS.Priority"/>
  
 
     <allow send_destination="org.freedesktop.Tracker1.Writeback"/>
 
     <allow send_destination="org.freedesktop.Tracker1.Writeback"/>

Revision as of 15:42, 15 March 2016

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- Only user "tracker" can own the Tracker services -->
  <policy user="tracker">
    <allow own="org.freedesktop.Tracker1"/>
    <allow own="org.freedesktop.Tracker1.Miner.Files"/>
    <allow own="org.freedesktop.Tracker1.Miner.Files.Index"/>
    <allow own="org.freedesktop.Tracker1.Miner.Applications"/>
    <allow own="org.freedesktop.Tracker1.Miner.Extract"/>
    <allow own="org.freedesktop.Tracker1.Miner.Userguides"/>
    <allow own="org.freedesktop.Tracker1.Miner.RSS"/>
    <allow own="org.freedesktop.Tracker1.Writeback"/>
  </policy>

  <!-- Allow sending and receiving to everyone -->
  <policy context="default">
    <allow send_destination="org.freedesktop.Tracker1"/>
    <allow receive_sender="org.freedesktop.Tracker1"/>
    <allow send_destination="org.freedesktop.Tracker1"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1"
           send_interface="org.freedesktop.Tracker1"/>

    <allow send_destination="org.freedesktop.Tracker1.Miner.Files"/>
    <allow receive_sender="org.freedesktop.Tracker1.Miner.Files"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Files"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Files"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Files"
           send_interface="org.freedesktop.Tracker1.Miner"/>

    <allow send_destination="org.freedesktop.Tracker1.Miner.Files.Index"/>
    <allow receive_sender="org.freedesktop.Tracker1.Miner.Files.Index"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Files.Index"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Files.Index"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Files.Index"
           send_interface="org.freedesktop.Tracker1.Miner.Files.Index"/>

    <allow send_destination="org.freedesktop.Tracker1.Miner.Applications"/>
    <allow receive_sender="org.freedesktop.Tracker1.Miner.Applications"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Applications"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Applications"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Applications"
           send_interface="org.freedesktop.Tracker1.Miner"/>

    <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"/>
    <allow receive_sender="org.freedesktop.Tracker1.Miner.Extract"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"
           send_interface="org.freedesktop.Tracker1.Extract"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Extract"
           send_interface="org.freedesktop.Tracker1.Miner.Extract.Priority"/>

    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"/>
    <allow receive_sender="org.freedesktop.Tracker1.Miner.Userguides"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
           send_interface="org.freedesktop.Tracker1.Extract"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.Userguides"
           send_interface="org.freedesktop.Tracker1.Miner.Userguides.Priority"/>

    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"/>
    <allow receive_sender="org.freedesktop.Tracker1.Miner.RSS"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
           send_interface="org.freedesktop.Tracker1.Extract"/>
    <allow send_destination="org.freedesktop.Tracker1.Miner.RSS"
           send_interface="org.freedesktop.Tracker1.Miner.RSS.Priority"/>

    <allow send_destination="org.freedesktop.Tracker1.Writeback"/>
    <allow receive_sender="org.freedesktop.Tracker1.Writeback"/>
    <allow send_destination="org.freedesktop.Tracker1.Writeback"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Tracker1.Writeback"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.Tracker1.Writeback"
           send_interface="org.freedesktop.Tracker1.Writeback"/>
  </policy>

</busconfig>