Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Symbolic link
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Comparison of POSIX and Windows symbolic links== {| class="wikitable plainrowheaders" style="text-align:center" ! ! Symbolic link ! [[NTFS junction point|Junction]] ! [[Hard link]] |- ! scope="row" | When the link is deleted... | The target remains unchanged | The target is deleted{{efn|except when using special tools}} | A reference counter is decremented. When it reaches 0, the target is deleted. |- ! scope="row" | When target is moved... | The link becomes invalid | The link becomes invalid | The link remains valid |- ! scope="row" | Relative path | {{yes|Allowed}} | {{No|Not allowed}}{{efn|On saving, becomes an absolute path}} | {{N/A}} |- ! scope="row" | Can be on a different volume? | {{yes}} | {{yes}} | {{No}} |- ! scope="row" | Link to files on [[Windows]] | rowspan="2" {{yes}}{{Efn|Supported on Windows Vista and later. The Windows implementation is not POSIX-compliant. Creating them requires the "create symbolic link" privilege (SeCreateSymbolicLinkPrivilege). By default a user account holds this privilege when it is either an administrator or has Developer Mode enabled (Windows 10 v1703 and later).<ref>{{cite web |title=Create symbolic links |url=https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/create-symbolic-links |website=Windows client documentation for IT Pros |publisher=[[Microsoft]] |via=Microsoft Learn |date=18 January 2023}}</ref>}} | {{No}} | {{yes}} |- ! scope="row" | Link to folders on [[Windows]] | {{yes}} | {{No}} |- ! scope="row" | Link to files on [[Unix]] | {{yes}} | {{N/A}} | {{yes}} |- ! scope="row" | Link to folders on [[Unix]] | {{yes}} | {{N/A}} | {{partial}}{{efn|POSIX permits hard links on folders but does not require them. Modern file systems tend to not support it.}} |} {{notelist}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)