Opening symlinks in the file:/// scheme breaks relative links
Categories
(Core :: General, defect)
Tracking
()
People
(Reporter: nik, Unassigned)
References
Details
| Reporter | ||
Updated•13 years ago
|
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Comment 7•7 years ago
|
||
Updated•3 years ago
|
Comment 9•9 months ago
|
||
Hoping not to add noise, even though the following is almost only tangential:
-
A (most likely incomplete) observation: The not-loading-of-symlinks is NOT consistent. When developing a Firefox extension and loading it (from the local filesystem) at Firefox special URL
about:debugging#/runtime/this-firefox, if the directories/files referred to frommanifest.jsonare symlinks, some DO GET LOADED - that is, at least the extension's toolbar icon does get loaded even through a symlinked directory. But, the scripts (and options HTML, and possible more) do NOT get loaded via symlinks. This inconsistency/difference may be intentional, or it's a Firefox defect. -
On Linux/Mac OS you could workaround with hard links, but, of course, only if
- it's all on the same filesystem (partition), and
- not feasible if you have too many files, or if they are auto-generated and the come and go, and
- the worst: not compatible with some editors that don't just updates files on save, but they re-create the files. Configurable in some editors.
-
On Linux you could mount over existing filesystem(s) (UnionFS? or some FUSE ones?), effectively creating a new filesystem tree from multiple filesystems, but for most of us life is too short...
-
A limited workaround if the only/main reason for symlinks is not to have (some) local modifications reflected/noticed/collected by (local)
git(so as to avoid their accidental commits to GIT). For that I usegit update-index --skip-worktree path-to-where-ignore-local-modifications. (See also scriptmanifest-firefox-override.shfor https://github.com/floccusaddon/floccus/pull/1848, it links to to more explanation).
Description
•