September 11 2017 File::Path Security Back

A More Complex Case: rm-rf-with-file.t (continued 5)

        $ cd /tmp/10237_base_with_file/
        $ ls -l
        total 28
        d--------- 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0000
        d--x------ 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0100
        d-w------- 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0200
        d-wx------ 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0300
        dr-------- 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0400
        dr-x------ 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0500
        drw------- 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0600
        drwx------ 2 jkeenan jkeenan 4096 Jul 20 13:06 foo_10237_0700
        $ ls -l foo_10237_0000/
        ls: cannot open directory 'foo_10237_0000/': Permission denied
        $ ls -l foo_10237_0100/
        ls: cannot open directory 'foo_10237_0100/': Permission denied
        $ ls -l foo_10237_0200/
        ls: cannot open directory 'foo_10237_0200/': Permission denied
        $ ls -l foo_10237_0300/
        ls: cannot open directory 'foo_10237_0300/': Permission denied


Home Last TOC Copyright © 2017 James E Keenan Back Next