WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

`error syncing 'rancher-regular-backup': handler backups: error creating temp dir: mkdir /tmp/.. permission denied #846

@bpedersen2

Description

@bpedersen2

Rancher Server Setup

  • Rancher version: v2.13.0
  • Installation option (Docker install/Helm Chart): Docker
  • Kubernetes Version and Engine: v1.34

Describe the bug
After a restart of the rancher docker container the permission on /tmp are incorrect:

If execing into the conatiner, /tmp has:

drwxr-xr-t root root

As the container is hardened, there is no way to sudo to adjust the rights from inside the container.

Workaround currently is:
exec into the rancher container and change mode on the corresponding overlay filesystem.

Expected behavior

I would expect the directory rights to be setup correctly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions