Opened 13 years ago
Closed 8 years ago
#10061 closed defect (obsolete)
Samba server in guest cannot access files via shared folders
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 (last modified by )
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.
Attachments (3)
Change History (7)
by , 13 years ago
by , 13 years ago
Attachment: | VBox_4.0.12_hostWin7.log added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
You might want to give this pre-release 4.1 Additions build (usual disclaimer applies) a try:
https://www.virtualbox.org/download/testcase/VBoxGuestAdditions-r75555.iso
by , 13 years ago
Attachment: | virtNAS_vboxGuestAdd_4.1.9_rename_delete_problem.JPG added |
---|
comment:3 by , 13 years ago
I tested VBoxGuestAdditions_r75555(=4.1.9) with
host:Win7SP1(host)--VBox4.0.12-GuestAdd-4.1.9--guest:3.5.1-1-ARCH Linux
host:WinXPSp3(host)--VBox4.1.6-GuestAdd-4.1.9--guest:3.5.1-1-ARCH Linux
---
I have deactivated the samba server on linux guest, to consider only the vbox sharedfolder behavior.
---
In both environments, I can reproduce the ??????????? situation via:
- on Windows-host: Copy folderX (with subfolders) to C:\myShare
- on Windows-host: rename folderX to folderY
- on Linux-guest: ls -lisa /media/sf_myShare/folderY --- OKAY
- on Linux-guest: rename (~ mv) folderY to folderZ
- on Windows-host: working on folderZ and subfolders --- OKAY
- on linux-guest: ls -lisa /media/sf_myShare/folderZ --- Error
Subfolder is not accessible, its Attributes shown as ???????????
(see attached screenshot)
comment:4 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
This might be a duplicate of #9878. I won't mark it as such yet though.