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

easyrsa_mkdir(): Remove use of 'mkdir -p', use only 'mkdir' #1145

Merged
merged 3 commits into from
May 26, 2024

Commits on May 21, 2024

  1. easyrsa_mkdir(): Remove use of 'mkdir -p', use only 'mkdir'

    Windows 11 fails to execute 'mkdir.exe -p $foo' and fails
    to return an error.
    
    easyrsa_mkdir() is a simple wrapper function for 'mkdir',
    which specifically checks that the requested directory is
    created, without relying on the exit status of 'mkdir.exe'.
    
    easyrsa_mkdir() does not support the '-p' (Parent) switch.
    Instead, `easyrsa` is tasked with creating the parent dirs
    as required.
    
    The old easyrsa_mkdir_p() is removed and replaced.
    
    This is not a fix for Windows 11, it is addressing a known
    issue by ensuring the failure is captured correctly.
    
    Signed-off-by: Richard T Bonhomme <[email protected]>
    TinCanTech committed May 21, 2024
    Configuration menu
    Copy the full SHA
    39ef535 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. easyrsa-shell-init.sh: Remove untested instructions

    Re. Windows 11; remove untested instructions related to non-admin mode.
    
    Signed-off-by: Richard T Bonhomme <[email protected]>
    TinCanTech committed May 23, 2024
    Configuration menu
    Copy the full SHA
    ae9eaf0 View commit details
    Browse the repository at this point in the history
  2. KNOWN_ISSUES: Add Windows 11 issues

    Signed-off-by: Richard T Bonhomme <[email protected]>
    TinCanTech committed May 23, 2024
    Configuration menu
    Copy the full SHA
    0c71b4c View commit details
    Browse the repository at this point in the history