mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00

Permission of volume should match the directory it is being mounted on. Fixes: https://github.com/containers/podman/issues/10188 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
65 lines
1.5 KiB
Go
65 lines
1.5 KiB
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/containers/podman/v3/libpod/define"
|
|
"github.com/containers/podman/v3/pkg/lookup"
|
|
spec "github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
func (c *Container) mountSHM(shmOptions string) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) unmountSHM(mount string) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) prepare() error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) cleanupNetwork() error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
|
|
return nil, define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointOptions) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) restore(ctx context.Context, options ContainerCheckpointOptions) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) copyOwnerAndPerms(source, dest string) error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Container) getOCICgroupPath() (string, error) {
|
|
return "", define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) cleanupOverlayMounts() error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Container) reloadNetwork() error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) getUserOverrides() *lookup.Overrides {
|
|
return nil
|
|
}
|
|
|
|
// Fix ownership and permissions of the specified volume if necessary.
|
|
func (c *Container) fixVolumePermissions(v *ContainerNamedVolume) error {
|
|
return define.ErrNotImplemented
|
|
}
|