The Samba-Bugzilla – Bug 5534
CIFS Lists Root Mount Directory For All Subdirectories
Last modified: 2009-05-13 16:27:14 UTC
I tried my best to search Google and the bug list for an error similar to this but I couldn't find anything with a resolution. Sorry if this is a dupe.
I'm attempting to mount a DFS file share hosted on a Windows 2003 R2 server using the cifs module on a CentOS machine. I have updated the kernel and samba packages to the newest available in the yum repository:
The command I'm using to mount:
mount -t cifs -o username=tempuser,password=temppass //01-fileserver/Source /mnt/source
The mount command succeeds. However, every directory in the root of /mnt/source also lists the root of the mount. Example, if I cd into /mnt/source/test and ls, it lists /mnt/source. Even so, I tried writing a file to any directory and that doesn't work as well.
If more information is needed that I didn't think to provide, please let me know. If this is a known bug then I apologize for reporting it again but I'd like to know so I know I'm not crazy.
Thanks for the help.
Is this still an issue in 4.7 ?
I'm sorry, 4.7?
CentOS' newest seems to be 4.6. Samba is 3.x and linux-cifs is 1.x from the best I can tell.
Regardless, I will try to test again with the newest repository update ASAP and give and update.
Created attachment 3515 [details]
test program that renames open files
Test program by Wilhelm Meier.
Sorry, wrong bz...
Is this still an issue? Any updates as per comment #2?
*** This bug has been marked as a duplicate of bug 4066 ***