cifs mounted NAS drive treats subdirectories as files
Posted
by
Mike Krejci
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Mike Krejci
Published on 2012-11-19T05:16:19Z
Indexed on
2012/11/19
5:26 UTC
Read the original article
Hit count: 403
I have a NAS drive mounted in my fstab as follows:
//192.168.0.182/Videos /mnt/NAS_02 cifs iocharset=utf8,uid=65534,gid=65534,guest,rw 0 0
It mounts fine, and in the terminal using cd and ls you can view all the files and navigate all the directories. However, in any other program all subdirectories in the mnt/NAS drive are treated as files and I can't open them up. A tree like this for example:
/Movies /Comedy /Drama Movie.mp4
I can enter the directory /Movies, but the directories /Movies/Comedy and /Movies/Drama show up as files and I can't enter them. The permissions are all fine. I just upgraded UBUNTU and was using smbfs on the same system before and it worked fine. It's under cifs that it no longer works. Any thoughts, I can't seem to find any solutions.
© Ask Ubuntu or respective owner