﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
7295	shared folder broken for subdirectories not owned by vbox user	hajma		"I am not able to access folders in a shared folder when these folders are owned by another user.
Even though they have 755/777 permissions.
An

at host:
{{{
-bash-4.0$ ls -ln /xvms/sharedsources/|grep testdir
drwxr-xr-x   2 115      10             3 Aug  9 19:01 testdir
drwxr-xr-x   2 100      10             2 Aug  9 19:34 testdir2
-bash-4.0$ id
uid=115(hajma) gid=10(staff)
}}}

#(virtualbox is running under the user hajma)

at guest:
{{{
test@opensolaris:~$ id
uid=101(test) gid=10(staff) groups=10(staff)
test@opensolaris:~$ pfexec mount -F vboxfs -o uid=101,gid=10 sharedsources /export/home/test/a
test@opensolaris:~$ ls -ln a|grep testdir
drwxr-xr-x 1 101 10          3 2010-08-09 17:01 testdir
drwxr-xr-x 1 101 10          2 2010-08-09 17:34 testdir2
test@opensolaris:~$ ls -ln a/testdir
total 1
-rw-r--r-- 1 101 10 6 2010-08-09 17:01 aa
test@opensolaris:~$ ls -ln a/testdir2
ls: reading directory a/testdir2: Not a directory
total 0
}}}

now, this is not really consistent and it can get more interesting:
{{{
test@opensolaris:~$ pfexec umount sharedsources
test@opensolaris:~$ pfexec mount -F vboxfs -o uid=101,gid=10 sharedsources /export/home/test/a
test@opensolaris:~$ ls -ln a/testdir2
total 0
test@opensolaris:~$ touch a/testdir2/c
}}}
#now virtualbox is locked up. no reaction even in the vrdp console
#CPU is at 100%
#I have to kill it
#truss -fF -p pid-of-vbox gives
{{{
...
29823/14:           Received signal #14, SIGALRM, in sigtimedwait() [caught]
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/14:       sigtimedwait(0xFFFFFD7FFDABDEB0, 0xFFFFFD7FFDABDC40, 0x00000000) = SIGALRM
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
29823/10:       ioctl(11, _ION('V', 192, 0), 0x00000000)        = 0
...
}}}

pstack:
{{{
# pstack 29823
29823:  /opt/VirtualBox/amd64/VBoxHeadless -s koronabuildvm
-----------------  lwp# 1 / thread# 1  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffb3e2d5d VBoxNsprPR_WaitCondVar () + 6b
 fffffd7ffb3e3069 VBoxNsprPR_Wait () + 46
 fffffd7ffb3af38d VBoxNsplPL_WaitForEvent () + 35
 fffffd7ffb3b0f4c _ZN16nsEventQueueImpl12WaitForEventEPP7PLEvent () + 28
 fffffd7ffb444edf _ZN3com10EventQueue12waitForEventEPPNS_5EventE () + 5f
 fffffd7ffb43fc81 TrustedMain () + 1771
 00000000004035c0 SUPR3HardenedMain () + 260
 00000000004028bc _start () + 6c
-----------------  lwp# 2 / thread# 2  --------------------
 fffffd7fff2be3ca waitid   (2, 747f, fffffd7ffefaee00, 3)
 fffffd7fff2670b4 waitpid () + 5c
 fffffd7ffb3dd7ff WaitPidDaemonThread () + 57
 fffffd7ffb3e36aa _pt_root () + 90
 fffffd7ffb3e376f _pt_iprt_root () + c
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 3 / thread# 3  --------------------
 fffffd7fff2bdbba pollsys  (fffffd7ffef8dcb0, 2, 0, 0)
 fffffd7fff25bcca poll () + 62
 fffffd7ffb3e184e _pr_poll_with_poll () + 3b4
 fffffd7ffb3e19d9 VBoxNsprPR_Poll () + 9
 fffffd7ffb22d7f1 _Z10ConnThreadPv () + 41
 fffffd7ffb3e36aa _pt_root () + 90
 fffffd7ffb3e376f _pt_iprt_root () + c
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 4 / thread# 4  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffb3e2d5d VBoxNsprPR_WaitCondVar () + 6b
 fffffd7ffb3e3069 VBoxNsprPR_Wait () + 46
 fffffd7ffb228a4a _ZN14DConnectWorker3RunEv () + 11a
 fffffd7ffb3b28ce _ZN8nsThread4MainEPv () + 2e
 fffffd7ffb3e36aa _pt_root () + 90
 fffffd7ffb3e376f _pt_iprt_root () + c
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 5 / thread# 5  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62f5b6 _Z19rtSemEventMultiWaitP23RTSEMEVENTMULTIINTERNALjb () + 206
 fffffd7ffa649c08 _ZN10HGCMThread6MsgGetEPP11HGCMMsgCore () + 38
 fffffd7ffa64a11e _Z10hgcmMsgGetjPP11HGCMMsgCore () + 4e
 fffffd7ffa64bd73 _Z10hgcmThreadjPv () + 23
 fffffd7ffa649539 _Z20hgcmWorkerThreadFuncP11RTTHREADINTPv () + 39
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 7 / thread# 7  --------------------
 fffffd7fff2bdbba pollsys  (fffffd7ffedfad30, 2, fffffd7ffedfaec0, 0)
 fffffd7fff2611f4 pselect () + 18c
 fffffd7fff261708 select () + 70
 fffffd7ffa1c1f8d _ZN16VRDPTCPTransport6ListenEv () + 12d
 fffffd7ffa1c2484 _ZN10VRDPServer11InputThreadEP11RTTHREADINTP25_VRDPServerThreadStartCtx () + 64
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 8 / thread# 8  --------------------
 fffffd7fff2b4de7 lwp_park (0, fffffd7ffedb7760, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae5f9 cond_wait_common () + 1e1
 fffffd7fff2ae866 __cond_timedwait () + 5e
 fffffd7fff2ae8ff cond_timedwait () + 27
 fffffd7fff2ae931 pthread_cond_timedwait () + 9
 fffffd7ffe62f4ce _Z19rtSemEventMultiWaitP23RTSEMEVENTMULTIINTERNALjb () + 11e
 fffffd7ffa1be984 _ZN10VRDPServer12OutputThreadEP11RTTHREADINTP25_VRDPServerThreadStartCtx () + 3b4
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 9 / thread# 9  --------------------
 fffffd7fff2b4de7 lwp_park (0, fffffd7ffed6fe60, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae5f9 cond_wait_common () + 1e1
 fffffd7fff2ae866 __cond_timedwait () + 5e
 fffffd7fff2ae8ff cond_timedwait () + 27
 fffffd7fff2ae931 pthread_cond_timedwait () + 9
 fffffd7ffe62e9ff RTSemEventWait () + 12f
 fffffd7ffa6296cd _Z15threadRemoteUSBP11RTTHREADINTPv () + 4d
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 10 / thread# 10  --------------------
 fffffd7fff21c08d memset () + 3d
 fffffd7ffa2509ae tcg_gen_code_common () + 48e
 fffffd7ffa251372 dyngen_code () + 22
 fffffd7ffa242c4d cpu_x86_gen_code () + 6d
 fffffd7ffa240d43 tb_gen_code () + f3
 fffffd7ffa2640cb emulate_single_instr () + 5b
 fffffd7ffa23e753 cpu_x86_exec () + 773
 fffffd7ffa23c9c7 REMR3EmulateInstruction () + 87
 fffffd7ffa44c658 _Z28emR3ExecuteInstructionWorkerP2VMP5VMCPUi () + 108
 fffffd7ffa44d5fd emR3RawHandleRC () + 1fd
 fffffd7ffa44ddbb emR3RawExecute () + fb
 fffffd7ffa44bdb6 EMR3ExecuteVM () + 546
 fffffd7ffa3eaa92 _Z25vmR3EmulationThreadWithIdP11RTTHREADINTP6UVMCPUj () + 102
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 11 / thread# 11  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62f5b6 _Z19rtSemEventMultiWaitP23RTSEMEVENTMULTIINTERNALjb () + 206
 fffffd7ffa649c08 _ZN10HGCMThread6MsgGetEPP11HGCMMsgCore () + 38
 fffffd7ffa64a11e _Z10hgcmMsgGetjPP11HGCMMsgCore () + 4e
 fffffd7ffa64a7d0 _Z17hgcmServiceThreadjPv () + 30
 fffffd7ffa649539 _Z20hgcmWorkerThreadFuncP11RTTHREADINTPv () + 39
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 12 / thread# 12  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62f5b6 _Z19rtSemEventMultiWaitP23RTSEMEVENTMULTIINTERNALjb () + 206
 fffffd7ffa649c08 _ZN10HGCMThread6MsgGetEPP11HGCMMsgCore () + 38
 fffffd7ffa64a11e _Z10hgcmMsgGetjPP11HGCMMsgCore () + 4e
 fffffd7ffa64a7d0 _Z17hgcmServiceThreadjPv () + 30
 fffffd7ffa649539 _Z20hgcmWorkerThreadFuncP11RTTHREADINTPv () + 39
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 13 / thread# 13  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62f5b6 _Z19rtSemEventMultiWaitP23RTSEMEVENTMULTIINTERNALjb () + 206
 fffffd7ffa649c08 _ZN10HGCMThread6MsgGetEPP11HGCMMsgCore () + 38
 fffffd7ffa64a11e _Z10hgcmMsgGetjPP11HGCMMsgCore () + 4e
 fffffd7ffa64a7d0 _Z17hgcmServiceThreadjPv () + 30
 fffffd7ffa649539 _Z20hgcmWorkerThreadFuncP11RTTHREADINTPv () + 39
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 14 / thread# 14  --------------------
 fffffd7fff2bd04a sigtimedwait (fffffd7ffdabdeb0, fffffd7ffdabdc40, 0)
 fffffd7fff2a63e4 sigwaitinfo () + c
 fffffd7ffe63257e _Z13rttimerThreadP11RTTHREADINTPv () + 38e
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 15 / thread# 15  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62f5b6 _Z19rtSemEventMultiWaitP23RTSEMEVENTMULTIINTERNALjb () + 206
 fffffd7ffa649c08 _ZN10HGCMThread6MsgGetEPP11HGCMMsgCore () + 38
 fffffd7ffa64a11e _Z10hgcmMsgGetjPP11HGCMMsgCore () + 4e
 fffffd7ffa64a7d0 _Z17hgcmServiceThreadjPv () + 30
 fffffd7ffa649539 _Z20hgcmWorkerThreadFuncP11RTTHREADINTPv () + 39
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 16 / thread# 16  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62eaa9 RTSemEventWait () + 1d9
 fffffd7ff9ecbae1 _Z14ataAsyncIOLoopP11RTTHREADINTPv () + 161
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 17 / thread# 17  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62eaa9 RTSemEventWait () + 1d9
 fffffd7ff9ecbae1 _Z14ataAsyncIOLoopP11RTTHREADINTPv () + 161
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 18 / thread# 18  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62eaa9 RTSemEventWait () + 1d9
 fffffd7ff9f423d1 _Z10drvNATRecvP9PDMDRVINSP9PDMTHREAD () + 41
 fffffd7ffa45de31 _Z15pdmR3ThreadMainP11RTTHREADINTPv () + 41
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 19 / thread# 19  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62eaa9 RTSemEventWait () + 1d9
 fffffd7ff9f42461 _Z13drvNATUrgRecvP9PDMDRVINSP9PDMTHREAD () + 41
 fffffd7ffa45de31 _Z15pdmR3ThreadMainP11RTTHREADINTPv () + 41
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 20 / thread# 20  --------------------
 fffffd7fff2bdbba pollsys  (6261fb0, 4, fffffd7ff9d2aeb0, 0)
 fffffd7fff25bcca poll () + 62
 fffffd7ff9f43002 _Z19drvNATAsyncIoThreadP9PDMDRVINSP9PDMTHREAD () + 122
 fffffd7ffa45de31 _Z15pdmR3ThreadMainP11RTTHREADINTPv () + 41
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 21 / thread# 21  --------------------
 fffffd7fff2bd16a accept   (1d, 0, 0, 1)
 fffffd7ffe85f638 accept () + 10
 fffffd7ff9f3c3a8 _Z22drvNamedPipeListenLoopP11RTTHREADINTPv () + 38
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 22 / thread# 22  --------------------
 fffffd7fff2bcf8a nanosleep (fffffd7ff9c88de0, fffffd7ff9c88dd0)
 fffffd7ffe631e1e RTThreadSleep () + 5e
 fffffd7ff9f3c22f _Z16drvNamedPipeReadP10PDMISTREAMPvPm () + 7f
 fffffd7ff9f3bb52 _Z18drvCharReceiveLoopP11RTTHREADINTPv () + 62
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
-----------------  lwp# 23 / thread# 23  --------------------
 fffffd7fff2b4de7 lwp_park (0, 0, 0)
 fffffd7fff2ae190 cond_wait_queue () + 68
 fffffd7fff2ae763 __cond_wait () + 7b
 fffffd7fff2ae7bb cond_wait () + 23
 fffffd7fff2ae7f1 pthread_cond_wait () + 9
 fffffd7ffe62eaa9 RTSemEventWait () + 1d9
 fffffd7ff9f3ba5a _Z15drvCharSendLoopP11RTTHREADINTPv () + 3a
 fffffd7ffe5f2a9c rtThreadMain () + 2c
 fffffd7ffe631c95 _Z18rtThreadNativeMainPv () + 75
 fffffd7fff2b4ae4 _thrp_setup () + bc
 fffffd7fff2b4da0 _lwp_start ()
#
}}}

this is with Virtualbox 3.2.8 on opensolaris b134 on amd64 (both guest and host)"	defect	closed	shared folders	VirtualBox 3.2.8	fixed			Solaris	Solaris
