recursive chmod

Edward Glowacki glowack2@msu.edu
Mon, 27 Nov 2000 17:21:27 -0500 (EST)


On 27 Nov 2000, Ben Pfaff wrote:
> Edward Glowacki <glowack2@msu.edu> writes:
> 
> > find / -type d -exec chmod 0755 {};
> > find / -type f -exec chmod 0644 {};
> 
> Or, if you have GNU tools, the following is safer:
> 
> 	find / -type d -print0 | xargs -0 chmod --

I'm not doubting you on this, but could you explain why it's safer?
Just curious...

-- 
Edward Glowacki			glowack2@msu.edu
Network Services		
Michigan State University