Mounted folder - git-data storage folder -Failed asserting that ownership of "/shared/gitlab" was git

I am trying to setup my mounted drive as a git data storage folder, on the machine I’ve tried to set the folder to have owner as “git” (998:998), but the drive folder stays as root when I chmod it, and I cannot get gitlab to reconfigure with this folder as git data storage.

Any hints?

(https://preview.redd.it/6gphcmapau761.png?width=1366&format=png&auto=webp&s=4812d7ff9270c6bd18047db7ac21212ceb75994f)]

Try to use a subdirectory under the mount path instead of using the mount root path (which isn’t exactly a normal directory), does that work?