Filemin ignores file write permissions

SYSTEM INFORMATION
OS type and version Debian 12
Webmin version 2.202

Hi,

I have setup a user for Filemin that could only access files in /srv/tftp and that should execute as tftp user. I can read/add/edit files without any issue. The problem is that I have some files that I want to be read only, and have permissions set to it (user=tftp, group=tftp, perms=444) but it seems that Filemin completly ignores that file permissions and I can write and delete those files. I have this setup in my <user>.acl file:

work_as_root=0
allowed_paths=$HOME
max=
work_as_user=tftp
allowed_for_edit=text-plain

Is there a way to config Filemin in order it can not overwrite/delete files that don’t have write access for the configured user?

Hello,

Have you create a new Webmin safe user in “Webmin ⇾ Webmin Users” page?

No, I have created a privileged user.
I tried a safe user first, but that kind of user can not have access to the DHCP Server module, and I also need that user to be able to configure the DHCP server.

I even tried to change the user/group to root of those files I need to be read-only, but, even in that way, the files can be overwriten/deleted.

I’m afraid this won’t be possible, as the Webmin privileged user is effectively root by default.

I would expect an option named work_as_user would check the file permissions to see if it can read/write to a file as the configured user.

Is there any Issue Tracker that can be used to ask for this behaviour?

Try the Webmin repo; we can discuss it there.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.