How to set up permissions for an account for a WiFi camera that records via SMB?

  • I got a WiFi camera that saves recordings via SMB onto my OMV.


    Following what I believe to be good security practices, I created a user account for the camera that has permissions only to its own directory on my OMV where it's saving to.


    This user account is part of the group 'users'.


    When the camera saves, it does so over SMB, and it creates a new directory for each day and each hour.


    Unfortunately, it is creating these new directories with an ACL mask of 022, resulting in the directories have permission of rwx for group 'users' but with the mask applied, effective permissions of r-x. This means that every time I want to clear out old recordings, I have to SSH in and either change permissions or do so as root.


    How can I make it so that new directories created by the camera have an ACL 002 mask instead of 022?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!