Why can root in Jail Shell see directories but not files?

Monkey_Demon

Explorer
Joined
Nov 11, 2016
Messages
85
I've been banging my head against the wall about this for two days.
  • If I launch a shell from FreeNAS (FreeNAS > Shell), enter as root, and navigate to the directory I'm interested in (/mnt/Volume1/Media/Music) and do "ls", I can see my music files. (Volume1 is the dataset name.)
  • If I examine the mount point in the (duplicati) jail (FreeNAS > Jails > duplicati : Mount Points), /mnt/Volume1/Media maps into /mnt/Volume1/iocage/jails/duplicati/root/mnt/Media.
  • But if I launch a shell in the jail, which makes me the jail's root (FreeNAS > Jails > duplicati : Shell), and then look for the mount point at /mnt/Media, I find it. If I then cd into /mnt/Media/Music, that works too. But if I "ls" inside the Music directory, nothing shows up.
I've tried messing with permissions, group membership, and group ownership of the files, but so far have had no success.

Any idea how to troubleshoot this to be able to access the music files in /mnt/Media/Music?
 
Last edited:
Top