Skip to content

snap mosquitto_passwd Error: Unable to open temporary file. No such file or directory #3279

@anq4

Description

@anq4

Hello.

Using latest snap mosquitto 2.0.21

trying to add a user gives an error

[root@wis1 conf.d]# mosquitto_passwd /var/snap/mosquitto/common/conf.d/wis2.passwd testuser
Error: Unable to open temporary file. No such file or directory.

backup password file is done but command doesn't even ask for password and user is not added

[root@wis1 conf.d]# ll
total 20
-rw-r--r-- 1 root root 213 May 2 10:10 wis2.conf
-rwx------ 1 root root 468 Apr 17 18:49 wis2.passwd
-rwx------ 1 root root 468 Apr 17 18:49 wis2.passwd.2025-05-14
-rw------- 1 root root 468 May 14 18:17 wis2.passwd.backup.1BxV1V
-rw------- 1 root root 468 May 14 18:14 wis2.passwd.backup.9CufH5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AvailableNo one has claimed responsibility for resolving this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions