Skip to content

--tmpfs with mode=777 #131

Closed
Closed

Description

@robsmith11

Is it necessary to have --tmpfs use mode=755? I'm running sshd in bwrap and would like to allow other users to log in and be able to write to /tmp.

Activity

  1. cgwalters commented on Jan 17, 2017

    @cgwalters
    Collaborator

    Yeah...we should support this. I think things get a little interesting though since we'd end up needing to do something systemd-tmpfiles.d like (support user/groups).

    You should be able to work around this by creating the directory inside the container - inject code to do whatever mkdirs etc you want as whatever uids, then exec your app.

  2. added a commit that references this issue on Feb 16, 2021
  3. smcv commented on Feb 16, 2021

    @smcv
    Collaborator

    #406 implements options that would let you use --perms 1777 --tmpfs /tmp.

    The default continues to be 0755 to avoid behaviour changes.

  4. added a commit that references this issue on Apr 7, 2021
  5. added a commit that references this issue on Apr 19, 2021
  6. added a commit that references this issue on May 14, 2021
  7. added a commit that references this issue on Mar 19, 2023
  8. added a commit that references this issue on Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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