I ran into this problem repeatably on all of my pools on TrueNAS-SCALE-22.12.1 when trying to make an SMB share. I'm trying to share a file deeper in the tree to make it easier for people to get to the folder they want from the windows network neighborhood (I also want to manage ACL permissions with the GUI) and getting this error on creation:
It's weird because this happens with any directory lower than "blah" in my folder path. So /mnt/BackupTank/test/blah/foo? Error. /mnt/BackupTank/test/blah/foo/bar? Error. /mnt/BackupTank/test/blah? Success! I'm just using the wizard to do this and not changing anything except the folder path. This is consistent across all pools. I even made a brand new pool/dataset while making folders on the shell to test it and it still happens. I am fairly new to linux but when using ls -l to check for symlink's all the folders are categorized as directories and not symbolic links.
Can anyone please explain why this is and if I'm doing something wrong?
[EINVAL] sharingsmb_create.path_local: Mountpoint /mnt/BackupTank/test not within path /mnt/BackupTank/test/blah/foo. This may indicate that the path of the SMB share contains a symlink component.
It's weird because this happens with any directory lower than "blah" in my folder path. So /mnt/BackupTank/test/blah/foo? Error. /mnt/BackupTank/test/blah/foo/bar? Error. /mnt/BackupTank/test/blah? Success! I'm just using the wizard to do this and not changing anything except the folder path. This is consistent across all pools. I even made a brand new pool/dataset while making folders on the shell to test it and it still happens. I am fairly new to linux but when using ls -l to check for symlink's all the folders are categorized as directories and not symbolic links.
Can anyone please explain why this is and if I'm doing something wrong?