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

/tmp not writable on tvOS device, breaking Path.GetTempPath #57638

Closed
directhex opened this issue Aug 18, 2021 · 1 comment · Fixed by #57508
Closed

/tmp not writable on tvOS device, breaking Path.GetTempPath #57638

directhex opened this issue Aug 18, 2021 · 1 comment · Fixed by #57508
Assignees
Milestone

Comments

@directhex
Copy link
Member

Whilst working on #34007, a new issue was revealed where tests touching /tmp (via shared test infra which sets up a temp directory) fail, due to /tmp not being writable.

The existing libraries code uses the TMPDIR env var if it exists, and falls back to /tmp - and helpfully, this is valid on the tvOS simulator, just not on physical devices.

This will be addressed in #57508 as well, since the issues are related (and the proposed fix to this issue depends on the fix to #34007)

@directhex directhex added area-System.IO blocking-release in-pr There is an active PR which will close this issue when it is merged labels Aug 18, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Aug 18, 2021
@ghost
Copy link

ghost commented Aug 18, 2021

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

Whilst working on #34007, a new issue was revealed where tests touching /tmp (via shared test infra which sets up a temp directory) fail, due to /tmp not being writable.

The existing libraries code uses the TMPDIR env var if it exists, and falls back to /tmp - and helpfully, this is valid on the tvOS simulator, just not on physical devices.

This will be addressed in #57508 as well, since the issues are related (and the proposed fix to this issue depends on the fix to #34007)

Author: directhex
Assignees: -
Labels:

area-System.IO, blocking-release, in pr

Milestone: -

@adamsitnik adamsitnik removed the untriaged New issue has not been triaged by the area owner label Aug 18, 2021
@adamsitnik adamsitnik added this to the 6.0.0 milestone Aug 18, 2021
@carlossanlop carlossanlop added the os-tvos Apple tvOS label Aug 18, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 24, 2021
@ghost ghost added in-pr There is an active PR which will close this issue when it is merged and removed in-pr There is an active PR which will close this issue when it is merged labels Aug 24, 2021
@ghost ghost added in-pr There is an active PR which will close this issue when it is merged and removed in-pr There is an active PR which will close this issue when it is merged labels Aug 27, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants