11 hours ago
I managed to solve the issue so i will post my solution to anyone it may help.
The issue in my case was that because the folder i tried to set the metadata path to was in a exfat filesystem when i changed the owner of said folder it didnt actually change anything as exfat filesystems cant have an owner or something like that. anyway to solve that i changed my mounting command for the drive the folder was in to include "umask=0000", this gives all users full permission.
my mounting line in fstab before and after the change as an example:
before: UUID=0CC7-7E8A /mnt/sda1 exfat noatime,x-systemd.automount,x-systemd.device-timeout=10,x-sytemd.idle-timeout
after: UUID=0CC7-7E8A /mnt/sda1 exfat umask=0000,noatime,x-systemd.automount,x-systemd.device-timeout=10,x-sytemd.idle-timeout
The issue in my case was that because the folder i tried to set the metadata path to was in a exfat filesystem when i changed the owner of said folder it didnt actually change anything as exfat filesystems cant have an owner or something like that. anyway to solve that i changed my mounting command for the drive the folder was in to include "umask=0000", this gives all users full permission.
my mounting line in fstab before and after the change as an example:
before: UUID=0CC7-7E8A /mnt/sda1 exfat noatime,x-systemd.automount,x-systemd.device-timeout=10,x-sytemd.idle-timeout
after: UUID=0CC7-7E8A /mnt/sda1 exfat umask=0000,noatime,x-systemd.automount,x-systemd.device-timeout=10,x-sytemd.idle-timeout

