# Last Modified: Wed Jul  8 10:52:48 2015

#include <tunables/global>
#include <tunables/gnunet>

profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-fs {
  #include <abstractions/base>
  #include <abstractions/gnunet-common>

  /tmp/gnunet-system-runtime/gnunet-service-fs.sock w,

  @{GNUNET_USER}/.local/share/gnunet/private_key.ecc rk,

  owner @{HOME}/.local/share/gnunet/fs/idxinfo.lst r,

  @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-fs mr,

  #Gnunet plugin
  @{GNUNET_PREFIX}/lib/gnunet/ r,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dht.so mr,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dns.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_dns.so mr,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_fs.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_fs.so mr,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_gns.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_gns.so mr,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_regex.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_regex.so mr,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_template.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_template.so mr,
# @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_test.la r,
  @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_block_test.so mr,
  
  # Site-specific additions and overrides. See local/README for details.
  #include <local/gnunet>
}
