Re: access priveleges -- part 2


Subject: Re: access priveleges -- part 2
From: Howard Schultens (hs@neuro-physiol.med.uni-goettingen.de)
Date: Tue Oct 31 2000 - 04:32:19 EST


I just posted:

>andrew morgan wrote:
>>
>> .....
>>
>> Also, you probably don't want the setgid bit for files, just directories.
>> You can fix this by going to the top-level directory you want to make the
>> change and running:
>>
>> find ./ -type f | xargs chmod 770
>>
>> Andy
>
>
>I tried this out, and in its present form it doesn't work with
>Apple filenames that have embedded blanks. There must
>be a trick to escape the blanks in this command -- can you help me out
>here?

This seems to do it:

find ./ -type f -exec chmod 770 '{}' \;

Note: SINGLE quotes are necessary, as is escaping the semicolon.

-- Howard
 
--------------------------------------------------------------------
Dipl.-Phys. H.Schultens Tel: +49 551 39-5914
Zentrum Physiologie FAX: +49 551 39-5923
Humboldtallee 23
37073 Goettingen mailto:hs@neuro-physiol.med.uni-goettingen.de
Germany http://www.neuro-physiol.med.uni-goettingen.de
--------------------------------------------------------------------



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:31 EST