mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-22 09:03:45 +08:00
fix perms
This commit is contained in:
@@ -93,6 +93,9 @@ void ExternalStorageControl::mountStorage() {
|
||||
process.start("sh", QStringList() << "-c" << "sudo mount /mnt/external_realdata");
|
||||
process.waitForFinished();
|
||||
|
||||
QProcess::execute("sh", QStringList() << "-c" << "sudo chown -R $(whoami):$(whoami) /mnt/external_realdata");
|
||||
QProcess::execute("sh", QStringList() << "-c" << "sudo chmod -R 775 /mnt/external_realdata");
|
||||
|
||||
refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user