Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.06 KB

File metadata and controls

31 lines (22 loc) · 1.06 KB

📂 Symlinks

Junctions

Windows (but not Unix) can use junctions. fs.symlink() allows creating these.

Permissions

Creating regular symlinks on Windows will most likely fail because it requires a "create symlink" permission which by default is off for non-admins. Also some file systems like FAT do not allow symlinks. As a consequence it is more cross-platform to copy files instead of symlinking them.

Neither junctions nor hard links (fs.link()) require permissions on Windows.

Summary

Copy files instead of symlinking them.


Next (📂 File metadata)
Previous (📂 Filenames)
Top