feat: add sudo support for file manager operations #509
Reference in New Issue
Block a user
Delete Branch "feat/file-manager-sudo-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Changes
sudoPasswordfield to SSH session,execWithSudohelper function,/sudo-passwordendpointSudoPasswordDialogcomponent for password inputFileManager.tsxto detectneedsSudoresponse and show dialogSecurity
sudo -Sto pass password via stdin (not exposed in command line)Test Plan
/etcor other protected directory as non-root user