Skip to content

mkdir(/home/demo1/proc) (13: Permission denied) #807

Open
@surjit

Description

@surjit

Ubuntu 20.04 LTS
unit version: 1.28.0
/home/demo1 (0711/drwx--x--x), I also tried 0755
/home/demo1 owner:demo1 group demo1, I even tried unit

2022/12/12 23:28:06 [alert] 1124247#1 mkdir(/home/demo1/proc) (13: Permission denied)
2022/12/12 23:28:06 [warn] 1124247#1 umount2(/home/demo1/proc, MNT_DETACH) (2: No such file or directory)
2022/12/12 23:28:06 [notice] 1124204#1124204 process 1124247 exited with code 1
2022/12/12 23:28:06 [warn] 1124204#1124204 umount2(/home/demo1/tmp, MNT_DETACH) (2: No such file or directory)
2022/12/12 23:28:06 [warn] 1124204#1124204 umount2(/home/demo1/proc, MNT_DETACH) (2: No such file or directory)
2022/12/12 23:28:06 [warn] 1124207#1124207 failed to start prototype "blog"

Config file

{
    "listeners": {
        "*:8082": {
            "pass": "applications/blog"
        }
    },
    "applications": {
        "blog": {
            "type": "php",
            "group": "demo1",
            "user": "demo1",
            "root": "/public_html",
            "isolation": {
                "rootfs": "/home/demo1/",
                "namespaces": {
                    "cgroup": true,
                    "credential": true,
                    "mount": true,
                    "network": true,
                    "pid": true,
                    "uname": true
                },
                "uidmap": [
                    {
                        "host": 1001,
                        "container": 1001,
                        "size": 1
                    }
                ],
                "gidmap": [
                    {
                        "host": 998,
                        "container": 998,
                        "size": 4
                    }
                ]
            }
        }
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions