]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - docs/TEMPORARY_DIRECTORIES.md
tree-wide: spellcheck fixes
[thirdparty/systemd.git] / docs / TEMPORARY_DIRECTORIES.md
index 6d67a1bc9757f8bf79975f0ceb264a900c90d03d..5bb24fa3eecd33aa40d2253cb05f94f1ad0ab4fc 100644 (file)
@@ -1,5 +1,7 @@
 ---
 title: Using /tmp/ And /var/tmp/ Safely
+category: Interfaces
+layout: default
 ---
 
 # Using `/tmp/` And `/var/tmp/` Safely
@@ -30,7 +32,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 +156,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.