Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I can successfully mount a Samba share on a local folder in Opensuse 12.1:

sudo mount -t cifs -o username=<username>,password=<password> //<win-box>/<share> <mountpoint>

The problem comes if i interrupt (^C) for example a long cp process in <mountpoint>: I get

> cp -r BIG_FOLDER/ /tmp
^C
> ls
ls: reading directory .: Permission denied

The only solution I found is to sudo umount <mountpoint> then mount again.

Any advice is welcome!

share|improve this question
    
I have a problem similar to this. I'm using Ubuntu 12.04 with CIFS and if I ^C a call to "find . -name -exec blah {} \;" then I get the behavior you describe. For me, fuser and lsof don't show any useful information. Perhaps a kernel bug or a CIFS / SAMBA bug. –  Tim Perry Sep 29 '12 at 19:45

1 Answer 1

This bug does not seem to be in kernel version 2.6.32.

I have submitted this to the Debian kernel team:

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695492

share|improve this answer
    
Thanks it would really help having this fixed –  neurino Dec 31 '12 at 17:48

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.