persistent files (as it may be preserved over reboots), and is for more temporary files. See Filesystem Hierarchy Standard. In addition, a user can set their TMPDIR environment variable to point to a preferred directory (where the creation and modification of files is allowed). In macOS, a sandboxed application cannot use the standard Unix locations, but may use a user-specific directory whose path is provided by the function . In OpenVMS, and in AmigaDOS are used. See also Temporary file Temporary variable tmpfs Trash (computing) References Computer file systems File system directories