VirtualBox

Opened 15 years ago

Closed 15 years ago

#6320 closed defect (fixed)

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

Reported by: howardtc Owned by:
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 (4)

comment:1 by Frank Mehnert, 15 years ago

Component: othershared folders

comment:2 by Ramshankar Venkataraman, 15 years ago

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

comment:3 by Ramshankar Venkataraman, 15 years ago

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

comment:4 by Ramshankar Venkataraman, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette