diff --git a/pkg/rpm/telemetry.spec.in b/pkg/rpm/telemetry.spec.in index 88d51cb..3dbecdf 100644 --- a/pkg/rpm/telemetry.spec.in +++ b/pkg/rpm/telemetry.spec.in @@ -29,6 +29,12 @@ telemetry data in your program. %install %cmake_install +%post +# Add a line to /etc/fuse.conf if it doesn't already exist +if ! grep -q "^user_allow_other" /etc/fuse.conf; then + echo "user_allow_other" >> /etc/fuse.conf +fi + %files %license LICENSE %{_libdir}/libtelemetry.so