Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: create XDG_RUNTIME_DIR with mode 0700 #577

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Commits on Dec 6, 2023

  1. tests: create XDG_RUNTIME_DIR with mode 0700

    The XDG specification requires this:
        $XDG_RUNTIME_DIR defines the base directory relative to which...
        ... Its Unix access mode MUST be 0700.
        https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html
    
    Confusingly,
        mkdir -m X -p /tmp/tarsnap-gui-test/test-blah
    only applies the `-m X` to test-blah/, not tarsnap-gui-test/.  I don't
    understand why POSIX specifies it as such, but at least it's clearly
    defined as such in:
        https://pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html
    gperciva committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    31560d0 View commit details
    Browse the repository at this point in the history