mirror of
https://github.com/containers/podman.git
synced 2025-06-03 20:33:20 +08:00
Merge pull request #16841 from rhatdan/default
Make qemu security model none
This commit is contained in:
@ -97,8 +97,12 @@ options are:
|
|||||||
|
|
||||||
The 9p security model [determines] https://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_directly
|
The 9p security model [determines] https://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_directly
|
||||||
if and how the 9p filesystem translates some filesystem operations before
|
if and how the 9p filesystem translates some filesystem operations before
|
||||||
actual storage on the host. The
|
actual storage on the host.
|
||||||
default value of *mapped-xattr* specifies that 9p store symlinks and some file
|
|
||||||
|
In order to allow symlinks to work, on MacOS the default security model is
|
||||||
|
*none*.
|
||||||
|
|
||||||
|
The value of *mapped-xattr* specifies that 9p store symlinks and some file
|
||||||
attributes as extended attributes on the host. This is suitable when the host
|
attributes as extended attributes on the host. This is suitable when the host
|
||||||
and the guest do not need to interoperate on the shared filesystem, but has
|
and the guest do not need to interoperate on the shared filesystem, but has
|
||||||
caveats for actual shared access; notably, symlinks on the host are not usable
|
caveats for actual shared access; notably, symlinks on the host are not usable
|
||||||
|
@ -305,7 +305,7 @@ func (v *MachineVM) Init(opts machine.InitOptions) (bool, error) {
|
|||||||
source := paths[0]
|
source := paths[0]
|
||||||
target := source
|
target := source
|
||||||
readonly := false
|
readonly := false
|
||||||
securityModel := "mapped-xattr"
|
securityModel := "none"
|
||||||
if len(paths) > 1 {
|
if len(paths) > 1 {
|
||||||
target = paths[1]
|
target = paths[1]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user