misc/62342: error in creation and removing files and directories on file system mounted via mount_smbfs

Victor Prylipko vic at liniya.ru
Wed Feb 4 04:40:20 PST 2004


>Number:         62342
>Category:       misc
>Synopsis:       error in creation and removing files and directories on file system mounted via mount_smbfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 04 04:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Victor Prylipko
>Release:        4.9-STABLE
>Organization:
Liniya
>Environment:
FreeBSD vic-free.lini-a.ru 4.9-STABLE FreeBSD 4.9-STABLE #11: Tue Feb 3 16:02:30 MSK 2004     admin at vic-free.lini-a.ru:/usr/obj/usr/src/sys/VIC-FREE  i386
>Description:
After creation and deteting file, on file system mounted via mount_smbfs, can't create and delete directory with the same name.

After unmounting and mounting smbfs again you can delete directory.
>How-To-Repeat:
mount_smbfs -N //vic/test /mnt/test
ls -l /mnt/test
touch /mnt/test/file1
rm /mnt/test/file1
mkdir /mnt/test/file1
ls -l /mnt/test

ls shows just created directory "file1" as file, not a directory and it's imposible to delete this directory or even touch one level up directory

total 0                                        
-rwxr-xr-x  1 root  wheel  0 Feb  4 15:31 file1

root at vic-free#touch /mnt/test        
touch: /mnt/test: Bad file descriptor
      
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list