home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Directory Access

Directories must have the x bit to be traversed or entered.

-- 
Sent from my Nexus 4.
On Nov 22, 2013 1:05 AM, "Paul" <contact [ dot ] paul [ at ] ncf [ dot ] ca> wrote:

> With regards to the screen dump listed under CODE: below,
> would someone be so kind as to share with me why I am unable to access the
> Recipes.0 directory?
>
> Both user and group permissions match.
>
> I can su into the directory, but I shouldn't have to.
>
> Recipes 2-6 are accessible.
> Recipes 0 and 1 are not accessible by user librarian.
>
> Any hints?
>
> CODE:
>
> librarian@artefact:~/test$ whoami
> librarian
> librarian@artefact:~/test$ ls -la
> total 36
> drwxr-xr-x 9 root      root      4096 Nov 22 00:39 .
> drwxr-xr-x 4 librarian librarian 4096 Nov 22 00:39 ..
> drw-rw---- 4 librarian librarian 4096 Nov 22 00:39 Recipes.0
> drw-rw---- 4 librarian librarian 4096 Nov 22 00:38 Recipes.1
> drwxr-xr-x 4 librarian librarian 4096 Nov 22 00:30 Recipes.2
> drwxr-xr-x 4 librarian librarian 4096 Nov 22 00:17 Recipes.3
> drwxr-xr-x 4 librarian librarian 4096 Nov 22 00:09 Recipes.4
> drwxr-xr-x 4 librarian librarian 4096 Nov 22 00:05 Recipes.5
> drwxr-xr-x 4 librarian librarian 4096 Nov 21 23:40 Recipes.6
> librarian@artefact:~/test$ cd Recipes.0
> -bash: cd: Recipes.0: Permission denied
> librarian@artefact:~/test$
>
>
>
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://oclug.on.ca/mailman/listinfo/linux
>