VirtualBox

15 年 前 建立

15 年 前 結束

#6320 closed defect (fixed)

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

回報者: howardtc 負責人:
元件: shared folders 版本: VirtualBox 3.1.4
關鍵字: read write permission shared folder 副本:
Guest type: Solaris Host type: Solaris

描述

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.

更動歷史 (4)

comment:1 15 年 前Frank Mehnert 編輯

元件: othershared folders

comment:2 15 年 前Ramshankar Venkataraman 編輯

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

comment:3 15 年 前Ramshankar Venkataraman 編輯

摘要: 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 15 年 前Ramshankar Venkataraman 編輯

狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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