lkml.org 
[lkml]   [2000]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: permissions not honoured by /bin/pwd aka getcwd
Date
> On Thu, 24 Feb 2000, Harald Kirsch wrote:
>
<snip>
>
> Script started on Thu Feb 24 09:07:10 2000
> $ pwd
> /tmp
> $ mkdir foo
> $ mkdir foo/bat
> $ ls
> foo typescript
> $ ls foo/*
> $ cd foo
> $ ls
> bat
> $ cd ..
> $ ls
> foo typescript
> $ chmod 0 foo
> $ ls
> foo typescript
> $ cd foo
> bash: foo: Permission denied
> $ ls foo/*
> ls: foo/*: Permission denied

Remember, directory permissions are NOT recursive. In this example,
cd foo/bat

will still work.

you need to chmod -R if that's what you want to do :)

--buddy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.126 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site