how do I create a Linux cifs share that points to a path alias or link
Posted on 2014-09-12
I need to create a cifs share on Red Hat Linux 6.5 to connect to a Windows Server 2008R2 server. I need the name on both sides to be 'dump'. That part I can do, with the mount -t cifs etc.....
The part I need help with is on the Linux side where 'dump' will actually be a pointer to the path /saved/files.
I've tried creating a soft link pointing dump to /saved/files, then using dump in the cifs mount but that didn't work. I tried setting up a mount point named dump and then using that in the cifs mount. None of which I really knew in detail what I was doing or the impact it would have. It was the shotgun approach based on the limited understanding I have of setting up mount points, links and cifs shares. But, at any rate, nothing I have tried has worked.
So, basically how do I set things up so that the Linux system can put files in a directory named 'dump' that points to /saved/files and have those files also show up on the Windows server in a share named 'dump'?