Skip to content

[Bug]: File permissions in the guest socket configuration should not be umasked. #361

@jglogan

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Current behavior

Host:

% ls -l $SSH_AUTH_SOCK
srw-rw-rw-  1 jimbo  wheel  0 Oct 24 16:18 /private/tmp/com.apple.launchd.xxx/Listeners

Guest:

% container run -it --rm --ssh test sh  
Warning! Running debug build. Performance may be degraded.
~ $ ls -l $SSH_AUTH_SOCK
srw-r--r--    1 root     root             0 Oct 26 01:02 /run/host-services/ssh-auth.sock

Expected behavior

Guest:

% container run -it --rm --ssh test sh  
Warning! Running debug build. Performance may be degraded.
~ $ ls -l $SSH_AUTH_SOCK
srw-rw-rw-    1 root     root             0 Oct 26 01:02 /run/host-services/ssh-auth.sock

Environment

- OS: macOS 26.1
- Xcode: Xcode 26
- Swift: 6.2

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

networknextItems in scope for the next few milestones

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions