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?


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?