Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writable /private/tmp #1555

Open
ShamrockLee opened this issue Nov 15, 2024 · 0 comments
Open

Writable /private/tmp #1555

ShamrockLee opened this issue Nov 15, 2024 · 0 comments

Comments

@ShamrockLee
Copy link

Expected Result
I expect /private/tmp to be writable, as many programs assume so.

This might be dumb and duplicated, but I did search across the documentation and issue using different keyword combinations.

Actual Result

Darling [/Volumes/SystemRoot/home/shamrock/Projects/ShamrockLee/playground/test-nix-in-darling]$ stat /private/tmp/                                                                                                 
93 44866787 dr-xr-xr-x 2 shamrock shamrock 0 4096 "Nov 15 19:24:38 2024" "Jan  1 00:00:01 1970" "Nov 15 19:24:38 2024" "Jan  1 00:00:00 1970" 4096 8 0 /private/tmp/
Darling [/Volumes/SystemRoot/home/shamrock/Projects/ShamrockLee/playground/test-nix-in-darling]$ ls -al /private/tmp/
total 24
dr-xr-xr-x  2 shamrock  shamrock  4096 Jan  1  1970 .
drwxr-xr-x  1 shamrock  shamrock  4096 Nov 15 19:24 ..
Darling [/Volumes/SystemRoot/home/shamrock/Projects/ShamrockLee/playground/test-nix-in-darling]$ chmod u+w /private/tmp                     
chmod: Unable to change file mode on /private/tmp: Operation not permitted

Steps To Reproduce

  1. If possible, what steps can you take to reproduce the issue?

System Information
What system are you using? NixOS (x86_64-linux), with darling.enable = true; in /etc/nixos/configuration.nix.

Software Version
Linux Kernel 6.6.59
Darling 25afbc7
  • system: "x86_64-linux"
  • host os: Linux 6.6.59, NixOS, 24.05 (Uakari), 24.05.20241104.d063c1d
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.8
  • nixpkgs: /nix/store/b309kyd5hrvrrf5z5xbqglmb1hhm8n6p-source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant