directory perms was Re: [Nolug] qmail backup strategy

From: John Hebert <johnahebert_at_yahoo.com>
Date: Tue, 20 Apr 2004 09:30:32 -0700 (PDT)
Message-ID: <20040420163032.29117.qmail@web10709.mail.yahoo.com>

--- "Mark A. Hershberger" <mah@everybody.org> wrote:
...
> Try it out: give a directory permissions of 0600:
>
> ,----
> | $ mkdir test-dir
> | $ chmod 600 test-dir
> | $ ls -l test-dir
> | total 0
> | $
> `----
>
> All looks fine so far. But wait:
>
> ,----
> | $ touch test-dir/t
> | /usr/bin/touch: cannot touch `test-dir/t':
> Permission denied
> | $ sudo touch test-dir/t
> | $ sudo ls -l test-dir/t
> | -rw-r--r-- 1 root root 0
> 2004-04-20 11:05 test-dir/t
> | $ ls -l test-dir
> | ls: test-dir/t: Permission denied
> | total 0
> | $
> `----

Ah, I see your point. I stand corrected. Reading
through 'man chmod' now about execute bits for
directories. Thanks for politely pointing out my
ignorance, so I can rectify it. :)

John Hebert

        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
___________________
Nolug mailing list
nolug@nolug.org
Received on 04/20/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST