Timeline for The Linux 'ls' command and directory privileges - "cannot access /tmp/restricted/foo*: No such file or directory"
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 19, 2023 at 16:56 | comment | added | aviro |
@heuvy6 a simple solution would be: sudo sh -c 'ls -a /tmp/restricted/foo*', which will force the * to expand inside root's shell.
|
|
| Mar 19, 2023 at 15:01 | vote | accept | heuvy6 | ||
| Mar 19, 2023 at 14:58 | history | answered | Stephen Kitt | CC BY-SA 4.0 |