ACP: std::os::windows::fs::junction_point
#203
Labels
ACP-accepted
API Change Proposal is accepted (seconded with no objections)
api-change-proposal
A proposal to add or alter unstable APIs in the standard libraries
T-libs-api
Proposal
Problem statement
On Windows creating symlinks is (be default) a privileged operation. However, many types of applications may want to create links. Junction points can be used by less privileged users to create directory links.
Motivation, use-cases
For example, bootstrap uses junction points as an alternative to symlinks on Windows: https://github.com/rust-lang/rust/blob/90a9f69c80812c8694959c1f2d5c336e3300d1e2/src/bootstrap/util.rs#L134-L135
Solution sketches
Links and related work
std::os::windows::fssymlink_dir
function for creating directory symlinks (which is likely to fail for most users due to lack of privileges).What happens now?
This issue is part of the libs-api team API change proposal process. Once this issue is filed the libs-api team will review open proposals in its weekly meeting. You should receive feedback within a week or two.
The text was updated successfully, but these errors were encountered: