Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Suppose I have an SMB share mounted somewhere in a Linux filesystem. If I do this (from within the mounted share):

rm -rf some-directory
mkdir some-directory
ls -a some-directory

some-directory is empty (and I mean empty, not even . or .. show up). If I unmount and mount the share again, everything's fine. Is there a way to fix this?

share|improve this question
1  
It sounds like a buggy smb client. What smb client are you using (fusesmb, mount.cifs, mount.smb, other)? The distro+version might be useful to. –  Zoredache Jan 21 '10 at 18:10
    
Mount.cifs and Ubuntu Karmic. –  Jason Baker Jan 24 '10 at 2:50
    
"If I do this (from within the mounted share)" -- you mean you're executing that on the client? Or on the server? –  Josh Apr 14 '11 at 15:21
    
I've never had to remount SMB shares like that. Perhaps it's a bug in the SMB client. –  gtirloni May 13 '11 at 19:28
    
samba has an option to hide certain directory entries from clients, are you experiencing something where the server configuration is responsible for this -- though . and .. missing is indeed not what linux should present to you. –  Server Horror Jun 18 '11 at 22:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.