mirror of
https://github.com/containerd/containerd.git
synced 2026-08-06 08:01:16 +00:00
Merge pull request #8852 from bpfoster/issue-8851
Fix ro mount option being passed
This commit is contained in:
@@ -175,7 +175,8 @@ func NeedsUserXAttr(d string) (bool, error) {
|
||||
}
|
||||
|
||||
opts := []string{
|
||||
fmt.Sprintf("ro,lowerdir=%s:%s,upperdir=%s,workdir=%s", filepath.Join(td, "lower2"), filepath.Join(td, "lower1"), filepath.Join(td, "upper"), filepath.Join(td, "work")),
|
||||
"ro",
|
||||
fmt.Sprintf("lowerdir=%s:%s,upperdir=%s,workdir=%s", filepath.Join(td, "lower2"), filepath.Join(td, "lower1"), filepath.Join(td, "upper"), filepath.Join(td, "work")),
|
||||
"userxattr",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user