I know this is bumping a new thread, but wanted to post another fix.
It seems that 11.10 that this issue still occurs and the fix to disable unix extensions and enable wide links does not work. The solution to this is a bit more complicated.
The security issue that
the article suggests is actually fairly serious. If you are working in an environment where you cannot trust your users, you should consider the solution below:
Edit /etc/fstab. You will need to use sudo as it's a system file.
At the bottom, type in the following line:
Code:
/path/to/directory /home/user/directory_link none bind 0 0
The first parameter is the directory you want to link to. The second directory is the directory you want to link to. This directory should be EMPTY be an actual directory (or folder as is the parlance of Windows users). It should also be placed within the samba share branch you plan on exporting. In this case, I'm sharing my home directory and placed directory_link within it.
The third parameter indicates the type of partition your mounting. In this case, since your just mounting folder, it is set to none. The fourth option indicates the type of mount. Your binding to a directory. The last two are options are for actual partitions so they are set to 0.
Once you add the line to the file, mount the partition:
Code:
sudo mount /home/user/directory_link
Since you placed this in /etc/fstab, it will survive reboots.
Bookmarks