All directiories on NAS have the same permisions.That's likely a permission issue on the NAS.
The guest account = the same problem: some directories not visible.Do I assume right that you mount the share while being root, and that you also try to access the share afterwards while being root?
In addition to that: are you sure the filesystem got actually mounted instead of quitting with an error? If so: how did you check?
Just trying to get some common possibilities out of the way here.
You didn't really answer my question and I also don't fully understand what you're saying here.
So when you're logged in as root you do see those directories under /mnt but not while using other accounts? In that case the solution is simple: specify the right user/group -name (and the optional permission mask) which smbfs should use for /mnt. See mount_smbfs(8); look into the -f, -d, -u and -g parameters.
guest
& root
account = the same problem: some directories not visible. cd
command I am able to find all missing directories (using root or guest account for mounting).No directories start with a dot. Just simple names.Do these directories perhaps start with a dot? Like .somedir? Do they show up if you usels -al
? Perhaps some odd locale settings/filenames?
cd
command path shows "missing" directories names with no problem.Why don't you use NFS on FreeBSD too? Do the directories show up then?From window machine I can see all the directiories, also the linux machine can mount it without the problem (NFS, CIFS).