Ticket #6320 (closed defect: fixed)
Read requires write permission on shared folder files (Solaris Host/Solaris Guest) => Fixed in SVN
|Reported by:||howardtc||Owned by:|
|Version:||VirtualBox 3.1.4||Keywords:||read write permission shared folder|
On a Solaris 10 update guest on a Solaris 10 update 8 host:
For files in a shared folder mounted in a Solaris guest, reading a file requries that the user running Virtual Box have write permission to the file. This is requried even if the shared folder is mounted read-only. If the user does not have write permission and tries to copy the file an error such as the following is displayed:
cp: filename: read: Invalid argument
This occurs regardless of the owner and group setting of the file. Even if the user running Virtual Box is the owner of the file, it cannot be read inside Virtual Box unless the user has write permission to the file. If the user running Virtual Box has write permission then the read operation completes normally. This makes it impossible for users to read files which they neither own nor have write permission too, even if they have read permission.
Virtual Box should not require the user running Virtual Box to have write permission to any file that is only to be read. Generating an error when attempting to write to a file for which the user does not have write premission is understandable, as is generating an error when trying to read a file for which the user does not have read permission, but generating an error when attempting to read a file the user has read permission for seems incorrect.
This same error has been present in all 3.x versions of VirtualBox and possibly earlier.
- Summary changed from Read requires write permission on shared folder files (Solaris Host/Solaris Guest) to Read requires write permission on shared folder files (Solaris Host/Solaris Guest) => Fixed in SVN