]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - docs/TEMPORARY_DIRECTORIES.md
Merge pull request #12593 from AdrianBunk/master
[thirdparty/systemd.git] / docs / TEMPORARY_DIRECTORIES.md
index 6d67a1bc9757f8bf79975f0ceb264a900c90d03d..9271e0e4789a2f02258d50bdd07e0038829594c0 100644 (file)
@@ -30,7 +30,7 @@ directory directly translate into a ðŸš¨ Denial-of-Service (DoS) ðŸš¨ vulnerabil
 or worse: if some software creates a file or directory `/tmp/foo` then any
 other software that wants to create the same file or directory `/tmp/foo`
 either will fail (as the file already exists) or might be tricked into using
-untrusted files. Hence: do note use guessable names in `/tmp/` or `/var/tmp/` â€”
+untrusted files. Hence: do not use guessable names in `/tmp/` or `/var/tmp/` â€”
 if you do you open yourself up to a local DoS exploit or worse. (You can get
 away with using guessable names, if you pre-create subdirectories below `/tmp/`
 for them, like X11 does with `/tmp/.X11-unix/` through `tmpfiles.d/`
@@ -154,7 +154,7 @@ strategies to avoid these issues:
    in these directories when they are no longer needed, in particular when the
    program dies unexpectedly. Note: this strategy is only really suitable for
    packages that operate in a "system wide singleton" fashion with "long"
-   persistance of its data or state, i.e. as opposed to programs that run in
+   persistence of its data or state, i.e. as opposed to programs that run in
    multiple parallel or short-living instances. This is because a private
    directory under `/run` (and the other mentioned directories) is itself
    system and package specific singleton with greater longevity.