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

[SR-9550] xdgURLs assumes home directory location for .userDirectory #3567

Closed
compnerd opened this issue Dec 20, 2018 · 3 comments
Closed

[SR-9550] xdgURLs assumes home directory location for .userDirectory #3567

compnerd opened this issue Dec 20, 2018 · 3 comments
Assignees

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-9550
Radar None
Original Reporter @compnerd
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee @spevans
Priority Medium

md5: 6f3dc3d81e15fa1be2456b12e981ba72

Issue Description:

The .userDirectory is configurable on Linux and is not guaranteed to be /home. As an example, my Linux setup actually uses /Users for the user directory. This can be queried easily using useradd -D or parsing /etc/default/useradd which is a key-value file defining HOME for the user directory.

@compnerd
Copy link
Collaborator Author

CC: @millenomi

@spevans
Copy link
Collaborator

spevans commented Jan 15, 2019

#1823

@spevans
Copy link
Collaborator

spevans commented Feb 1, 2019

This has been merged into master

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants