Listing file share drive root contents hangs Windows VMs
Listing file share drive root contents hangs Windows VMs
I'm not sure if it's specific only to myself. After upgrading to 4.3.20 and installing the Addtions, listing file share drive root contents will always hang the Windows guest VM.
For example, I have a Windows XP guest VM which has a file share drive E: mapped to /Users/myname/Downloads. Every time I navigate to E:\ using Windows File Explorer, the VM hangs. I cannot even save the VM; the only option left is to force-kill the VM using Activity Monitor. To make things look more weird, I can actually browse sub-folders under E:\ without problem.
For example, I have a Windows XP guest VM which has a file share drive E: mapped to /Users/myname/Downloads. Every time I navigate to E:\ using Windows File Explorer, the VM hangs. I cannot even save the VM; the only option left is to force-kill the VM using Activity Monitor. To make things look more weird, I can actually browse sub-folders under E:\ without problem.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Listing file share drive root contents hangs Windows VMs
I don't understand. How do you browse the sub-folders on E:\ if the VM hangs when you access E:\? (computers are so complicated)ssawgift wrote:I'm not sure if it's specific only to myself. After upgrading to 4.3.20 and installing the Addtions, listing file share drive root contents will always hang the Windows guest VM.
For example, I have a Windows XP guest VM which has a file share drive E: mapped to /Users/myname/Downloads. Every time I navigate to E:\ using Windows File Explorer, the VM hangs. I cannot even save the VM; the only option left is to force-kill the VM using Activity Monitor. To make things look more weird, I can actually browse sub-folders under E:\ without problem.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
ChipMcK
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, OSX
- Location: U S of A
Re: Listing file share drive root contents hangs Windows VMs
I have my shared folder mapped to U: and i experience no problems accessing U: and its subfolders via File Explorerssawgift wrote:I'm not sure if it's specific only to myself. After upgrading to 4.3.20 and installing the Addtions, listing file share drive root contents will always hang the Windows guest VM.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Listing file share drive root contents hangs Windows VMs
Can you check the permissions of '/Users/myname/Downloads'? Which means type 'ls -al' in a Terminal window and give me the output of the first two lines. Example:ssawgift wrote:E: mapped to /Users/myname/Downloads ... Every time I navigate to E:\, the VM hangs
Code: Select all
MacOS:~ myname$ ls -al /Users/myname/Downloads/
total 8864
drwx------@ 31 myname staff 1054 6 Dec 18:01 .
drwxrwxr-t 27 myname staff 918 6 Dec 00:12 ..Code: Select all
ls -l /Users/myname/Downloads | wc -l
find /Users/myname/Downloads -type f | wc -l
du -d 0 /Users/myname/DownloadsDo NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: Listing file share drive root contents hangs Windows VMs
Code: Select all
$ ls -al
drwxr-xr-x 10 myname staff 340 Dec 7 12:05 .
drwxr-xr-x+ 36 myname staff 1224 Dec 6 20:03 ..
$ ls -l ~/Downloads | wc -l
7
$ find ~/Downloads -type f | wc -l
7864
$ du -d 0 ~/Downloads
17781328 /Users/myname/Downloads
P.S.
I want to add that even though the permissions of ~/Downloads may be very bad, but I don't think it should hang the VM. Instead, VB should report some errors about reading/writing permissions. Maybe some kind of hard-coded logic is lurking in the source code.
Oh, one more thing. I recently did a fresh re-installation of Yosemite. I recall I once used cp with a special option (can't remember) to copy backed files back to my home folder. Maybe that is causing the problem.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Listing file share drive root contents hangs Windows VMs
If you're worried about the wrong permissions in your Downloads folder (and potentially other ones in your home directory), you could follow the instructions in this article titled Mac Troubleshooting - Reset User Account Permissions. BTW, you got me worried about my permissions being wrong, so I'm going to try it on my computer as wellssawgift wrote:Why my output is so different?
But, the more interesting part is the output of the "find ~/Downloads -type f | wc -l" command. That basically counts are in the folder and its subfolders. That would be 7864 (compared to 834 in my case). Since you have only 7 of them at the folder level (ls -l ~/Downloads | wc -l), I assume that these 7 are subfolders, and the majority of your downloads are organized in these subfolders.
I'm wondering if in your VM the Windows Explorer isn't "stuck", but it is simply trying to enumerate those 7864 files and get info on them. When you said "I can actually browse sub-folders under E:\" did you mean that you open the tree from the left and click on one of the subfolders on the right pane of WinExplorer?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Listing file share drive root contents hangs Windows VMs
fwiw, my Download permissions are different than either of yours. 
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Listing file share drive root contents hangs Windows VMs
Please tell...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Listing file share drive root contents hangs Windows VMs
oh geez… I just closed the terminal.
I printed the entire output.
I printed the entire output.
Code: Select all
drwx------+ 4 louis staff 136 Oct 23 16:00 .
drwxr-xr-x+ 29 louis staff 986 Dec 6 10:22 ..
-rw-r--r--@ 1 louis staff 6148 Oct 23 16:00 .DS_Store
-rw------- 1 louis staff 0 May 23 2014 .localizedOSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Listing file share drive root contents hangs Windows VMs
That's what it should be (that's why I always keep an untouched VM). The '+' means that there are extra permissions (Access Control Lists, or ACLs) not usually seen by the more simplistic User, Group, Other, Read, Write, eXecute that 'ls' is outputting. If you do an 'ls -lae', your output should be:
But we still haven't figured a solution to the OP's question 
Code: Select all
drwx------+ 31 socratis staff 1054 7 Dec 18:08 .
0: group: everyone deny delete
drwxrwxr-x+ 27 socratis staff 918 6 Dec 00:12 ..
0: group: everyone deny delete
-rw-------@ 1 socratis staff 6148 6 Dec 18:02 .DS_Store
-rw-r--r-- 1 socratis staff 0 4 Aug 2008 .localizedDo NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Listing file share drive root contents hangs Windows VMs
but, but, why does yours have a w instead of a dash?
as far as the OP, maybe he just needs to repair permissions.drwxrwxr-x+ 27 socratis staff 918 6 Dec 00:12 ..
drwxr-xr-x+ 29 louis staff 986 Dec 6 10:22 ..
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Listing file share drive root contents hangs Windows VMs
Oops, good catch. Now I definitely have to eat my own dog food...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Listing file share drive root contents hangs Windows VMs
here's what I don't get, why is the OP sharing his Download folder in the first place?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Listing file share drive root contents hangs Windows VMs
Thanks everyone for your comments and replies.
I have attached a screenshot to clarify my problem. In the screenshot, I can browse E:\Windows without problem, but *if* I navigate to E:\, the VM will hang.
I have attached a screenshot to clarify my problem. In the screenshot, I can browse E:\Windows without problem, but *if* I navigate to E:\, the VM will hang.
- Attachments
-
- File Share
- Screen Shot 2014-12-08 at 12.10.56 PM.png (105.43 KiB) Viewed 3069 times
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Listing file share drive root contents hangs Windows VMs
What happens if you don't go through the mapped network drive (E:\), but you browse through normal, unmapped drives, like Network, VBoxShare? Does it still hang?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.