Subject: Re: How to chmod of recusive directory with a sticky bit
To: iware <dkwok@iware.com.au>
From: Giles Lean <giles@nemeton.com.au>
List: port-i386
Date: 02/02/2002 09:06:25
> I have a bundle of directories and sub-directories which I want other group
> member to share. How could I set the directories and sub-directory with
> sticky bit but leaving the files in 0644 mode instead.
> 
> I have tries chmod -R 1775 to a directory but the results are that all the
> underlined files' file permission is changed as well. Any sugguestion. Do I
> really have to do it by hand?

  $ find directory -type d | xargs chmod 1775

Regards,

Giles