[prev in list] [next in list] [prev in thread] [next in thread] 

List:       thttpd
Subject:    Re: [THTTPD] propagation of .htpasswd
From:       Andrew J Caines <A.J.Caines () halplant ! com>
Date:       2002-06-22 1:51:13
[Download RAW message or body]

I'd add a change to Sam Nicholson's suggestion..
> find . -type d -exec cp .htpasswd {} \;

..which is to use ln, not cp.

Keeping and managing umpteen copies of the same file is daft. As long as
you're in the same filesystem, linking to the same file is the obvious
choice. Since it's only one file, you only need to update one file.

If you traverse filesytems, then you do want to copy (once), since
symlinks won't work.


-Andrew-
-- 
 _______________________________________________________________________
| -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic