Skip to content

Add priviliged mkdir command#132

Merged
MaxG87 merged 3 commits into
mainfrom
root_mkdir
Jul 5, 2026
Merged

Add priviliged mkdir command#132
MaxG87 merged 3 commits into
mainfrom
root_mkdir

Conversation

@MaxG87

@MaxG87 MaxG87 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

In order to enable ButterBackup opening devices in a privileged location
like /media/ or /mnt ButterBackup must be able to create directories
using sudo privileges. This is enabled by the changes of this MR.

Copilot AI and others added 3 commits July 5, 2026 21:34
Instead of squashing them into the mount_unmount helpers, the dedicated
tests for ensure_directory are moved to a dedicated file. While at it, a
new test was written which ensured correct functionality even for parent
directories owned by root.
@MaxG87 MaxG87 merged commit d773feb into main Jul 5, 2026
29 checks passed
@MaxG87 MaxG87 deleted the root_mkdir branch July 5, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants