Re: Debian NFS question
A feature of NFS is that the filesystem exported is treated like a local FS on clients. This means that symlinks are not 'translated' or 'followed', they point to someplace on the client side, which is often nowhere unless they were made to be relative and point inside the share itself. That prevents users from making symlinks that would be able to 'peek' elsewhere on the server.
There is a solution however.
1) Create an empty directory called /video/Nordic/_EN/metadata1.folder
2) For testing, make a bind mount to your target folder
Code:
sudo mount -o bind /video/folder/metadata1.folder /video/Nordic/_EN/metadata1.folder
You should be able to see the contents of the target mounted in _EN/metadata1.folder
3) Make this permanent with an fstab entry
/video/folder/metadata1.folder /video/Nordic/_EN/metadata1.folder none bind 0 0
4) Share BOTH /video/Nordic/_EN and /video/Nordic/_EN/metadata1.folder in /etc/exports and add nohide in the exports options.
5) Mount the parent /video/Nordic/_EN in your clients. The child metadata1.folder should be visible and contain the right files.
Cheers!
husband@wife$ make sandwich
Permission denied
husband@wife$ sudo make sandwich
Bookmarks