← Back to team overview

sslug-teknik team mailing list archive

Re: chmod

 

On Mon, Jul 30, 2001 at 02:39:34PM +0200, Poul Møller Hansen wrote:
> Jeg har lavet et lille script:
<SNIP>
> som skulle lave mode 775 på filer og mode 770 på biblioteker.
> Den tager bare ikke under biblioteker med :o(
> Hvordan gør man ?

find /sti -type d -exec chmod 770 {} \;
find /sti -type f -exec chmod 775 {} \;

Byt "sti" ud med et bibliotek.
-- 
Best Regards
Emil S. Hansen - esh@xxxxxxxxxxxxx - ESH2-DK
UNIX Administrator, Berlingske Tidende - www.berlingske.dk

"I started developing this under a VLIW architecture, but began to find
the length of the instruction words prohibitive - I'd keep getting
distracted mid-word, and my coding efficiency suffered accordingly." -
AC on /.


Follow ups

References