Commit 6ef3d8a
authored
fix: show clear error message when mounting FUSE without root (#14)
## Summary
- Detect `PermissionDenied` error from `fuser::Session::new()` and
display a helpful message with the exact `sudo` command to re-run,
instead of a raw OS error.
Closes #101 parent 67ee484 commit 6ef3d8a
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
418 | 426 | | |
419 | 427 | | |
420 | 428 | | |
| |||
0 commit comments