For some reason, I would like to separate my media library and the download directory and use overlayfs to create a merged view of them. Both the library and the download directory are owned by
I create the merged directory with
apps
and it seems that unless I add the user to apps
group, it cannot access the merged directory. That is fine but even when the user can access the directory from the console, the same user cannot access the directory over SMB. Am I missing anything?I create the merged directory with
Code:
sudo mount -t overlay -o lowerdir=/mnt/HDD/Storage/Videos/Movies,upperdir=/mnt/HDD/Storage/Downloads/Movies,workdir=/mnt/HDD/Storage/OverlayWorkDir-MovieLib overlay /mnt/HDD/Storage/Videos/Merged