Bind mounts under /home/virtfs?

astopy

Well-Known Member
Apr 3, 2003
166
0
166
cPanel Access Level
Root Administrator
I'm not 100% sure how cPanel sets up /home/virtfs. I've got a directory under /var/lib bind mounted to somewhere else. Users logged in with jailshell don't see the mount (i.e. they just see the mount point as an empty directory). I can of course manually mount the target directory under /home/virtfs/user/var/lib, and I could easily hack something together to do that for every user, but I have to wonder if there's a better way?