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

Re: [OCLUG-Tech] Directory Access

You need execute permission on a directory to be able to access it.

Recipes.0 and Recipes.1 doesn't have the execute set and that's why you
can't access it without doing an su.

To correct the problem you need to type in:
chmod 750 Recipes.0
chmod 750 Recipes.1

Hope that helps.

- Tim.



On Fri, Nov 22, 2013 at 1:04 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
>

replies

message navigation