Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:39
Roman Gaufman is currently offline Roman GaufmanFriend
Messages: 1
Registered: April 2018
Junior Member
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 $?

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: Mon Nov 30 02:35:00 GMT 2020

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

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

Back to the top