VirtualBox

Ticket #6320 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Read requires write permission on shared folder files (Solaris Host/Solaris Guest) => Fixed in SVN

Reported by: howardtc Owned by:
Priority: major Component: shared folders
Version: VirtualBox 3.1.4 Keywords: read write permission shared folder
Cc: Guest type: Solaris
Host type: Solaris

Description

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.

Change History

comment:1 Changed 4 years ago by frank

  • Component changed from other to shared folders

comment:2 Changed 4 years ago by ramshankar

Thank you for the report, I've fixed the bug internally and should be available in the next release.

comment:3 Changed 4 years ago by ramshankar

  • 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

comment:4 Changed 4 years ago by ramshankar

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use