| September 11 2017 | File::Path Security | Back Next |
Try to change that directory's permissions
$ chmod 0711 /tmp/explain-read/
chmod: /tmp/explain-read/: Operation not permitted
Oops! Must sudo or be root
$ sudo chmod 0711 /tmp/explain-read/
Regular user can no longer see directory's contents
$ ls -l /tmp/explain-read/
total 0
ls: /tmp/explain-read/: Permission denied
| Home Last TOC | Copyright © 2017 James E Keenan | Back Next |