try to add "sudo" to your command line, following command prints to console: sudo influxd inspect export-lp --bucket-id YOURBUCKETID --engine-path /var/lib/influxdb/engine --output-path -