I recently setup OMV and everything seems to work except my appdata folders' owners and groups keep changing whenever I add a compose file or reboot.
Before adding a compose file:
Code
drwxrwsr-x 14 root users 4096 Apr 15 14:39 .
drwxr-xr-x 6 root root 4096 Apr 10 22:49 ..
drwx------ 8 appuser users 4096 Apr 5 12:36 bazarr
-rw------- 1 root root 1401 Apr 14 11:59 global.env
drwx------ 3 root root 4096 Apr 14 10:06 heimdall
drwx------ 3 root root 4096 Mar 30 12:24 jellyfin
drwx------ 5 root root 4096 Apr 6 12:59 jellyseerr
drwx------ 7 appuser users 4096 Apr 18 02:13 lidarr
drwx------ 5 root root 4096 Apr 17 20:22 nginx_proxy_manager
drwx------ 5 root root 4096 Apr 18 02:22 profilarr
drwx------ 7 appuser users 4096 Apr 18 02:16 prowlarr
drwx------ 7 appuser users 4096 Apr 18 02:15 radarr
drwx------ 6 appuser users 4096 Apr 18 02:18 readarr
drwx------ 7 appuser users 4096 Apr 5 11:03 sabnzb
drwx------ 7 appuser users 4096 Apr 18 02:20 sonarr
Display More
After adding a compose file (in this case Plex, but it happens with any compose file):
Code
drwxrwsr-x 15 root users 4096 Apr 18 02:30 .
drwxr-xr-x 6 root root 4096 Apr 10 22:49 ..
drwx------ 8 root root 4096 Apr 5 12:36 bazarr
-rw------- 1 root root 1401 Apr 14 11:59 global.env
drwx------ 3 root root 4096 Apr 14 10:06 heimdall
drwx------ 3 root root 4096 Mar 30 12:24 jellyfin
drwx------ 5 root root 4096 Apr 6 12:59 jellyseerr
drwx------ 7 root root 4096 Apr 18 02:29 lidarr
drwx------ 5 root root 4096 Apr 17 20:22 nginx_proxy_manager
drwx------ 2 root root 4096 Apr 18 02:30 plex
drwx------ 5 root root 4096 Apr 18 02:30 profilarr
drwx------ 7 root root 4096 Apr 18 02:29 prowlarr
drwx------ 7 root root 4096 Apr 18 02:15 radarr
drwx------ 6 root root 4096 Apr 18 02:29 readarr
drwx------ 7 root root 4096 Apr 5 11:03 sabnzb
drwx------ 7 root root 4096 Apr 18 02:29 sonarr
Display More
After reboot:
Code
drwxrwsr-x 15 root users 4096 Apr 18 02:30 .
drwxr-xr-x 6 root root 4096 Apr 10 22:49 ..
drwx------ 8 appuser users 4096 Apr 5 12:36 bazarr
-rw------- 1 root root 1401 Apr 14 11:59 global.env
drwx------ 3 root root 4096 Apr 14 10:06 heimdall
drwx------ 3 root root 4096 Mar 30 12:24 jellyfin
drwx------ 5 root root 4096 Apr 6 12:59 jellyseerr
drwx------ 7 appuser users 4096 Apr 18 02:47 lidarr
drwx------ 5 root root 4096 Apr 17 20:22 nginx_proxy_manager
drwx------ 3 root root 4096 Apr 18 02:31 plex
drwx------ 5 root root 4096 Apr 18 02:49 profilarr
drwx------ 7 appuser users 4096 Apr 18 02:47 prowlarr
drwx------ 7 appuser users 4096 Apr 18 02:49 radarr
drwx------ 6 appuser users 4096 Apr 18 02:47 readarr
drwx------ 7 appuser users 4096 Apr 5 11:03 sabnzb
drwx------ 7 appuser users 4096 Apr 18 02:47 sonarr
Display More
When the owners and groups change it causes the applications to stop working because they can't access their respective databases anymore. Using chown/chgrp to change the owners/groups fixes it, until I add another compose file at which point they all get set back to root/root. Any ideas on what I messed up?