Skip to main content



      Home
Home » Eclipse Projects » Mosquitto » Mosquitto acl_file "topic readwrite #" breaking permissions
Mosquitto acl_file "topic readwrite #" breaking permissions [message #1786286] Sun, 29 April 2018 14:39
Eclipse UserFriend
Hi there,

I'm experimenting with Mosquitto and so far I love it. I'm struggling to get the acl_file working correctly.

I created a blank acl_file and added:

user testuser
topic readwrite #


After adding these 2 lines, the "testuser" user is no longer able to publish to topic: 'to/client1/test'. The message is silently dropped:

$ mosquitto_pub -p 1883 -q 2 -u testuser -P testpasswd -t 'to/client1/test' -m "message for client1"
$ echo $?
0


Removing the 2 lines from the acl file allows publishing again. Any ideas why this happens?
Previous Topic:How To Install Mosquitto On Debian Stretch-Based Linux Distros
Next Topic:git archive location
Goto Forum:
  


Current Time: Fri Jul 04 20:58:39 EDT 2025

Powered by FUDForum. Page generated in 0.03246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top