VirtualBox

Opened 12 years ago

Last modified 8 years ago

#10061 closed defect

Samba server in guest cannot access files via shared folders — at Initial Version

Reported by: Jürgen Schaumlöffel Owned by:
Component: shared folders Version: VirtualBox 4.1.6
Keywords: arch samba Cc: 4.0.12
Guest type: Linux Host type: Windows

Description

I want to operate a Linux Samba server(guest) on Win7 (host), in which the Samba share point-to sharedFolder (vboxsf) on the host NTFS-Filesystem.


Win7Host: C:\myShare <-- vboxsf auto-mount --> LinuxGuest: /media/sf_myShare, Samba: [MYSHARE] path = /media/sf_myShare


If folder/files are copied under Win7 into C:\myShare, it happens, that copied folders/ files aren't visible thru Samba access. On the other hand - if I make the copy via Samba-share, it happens sometimes that particular files couldn't written to the share. In both cases on Linux command line a 'ls' shows folder/ file name(s), but no attributes, only ?????????????. Reason unknown.


Oracle VBox 4.1.6, host: Windows 7 SP1, guest: 3.5.1-1-ARCH Linux, Samba 3.6.1 Because of similar bug tickets (#9952, #9789, #9887) I tested too with VBox 4.0.12, negativ - same error.


I find a way to reproduce this behavior anytime:
1. Win7 robocopy: C:\folderX to C:\myShare
2. windiff: compare C:\folderX with \linuxguest\MYSHARE\folderX --- OKAY
3. rename \linuxguest\MYSHARE\folderX to folderY
4. robocopy again C:\folderX to C:\myShare
5. windiff: compare source\folderX with \linuxguest\MYSHARE\folderX --- ERROR
6. linux, ls shows /media/sf_myShare/folderX ????????????

I don't see this problem, when I rename the folder under Win7 directly - only by renaming over Samba.

Change History (2)

by Jürgen Schaumlöffel, 12 years ago

Attachment: VBox_4.0.12_hostWin7.log added
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use