On Fri, Apr 09, 2004 at 08:47:07AM +0200, Uwe Doering wrote:
> >cd $topdir
> >find . -type d | xargs chmod 755
> 
> In case (potentially) untrusted users have had write permission in this 
> directory tree in the past, a safer alternative would be
> 
>   find /path/to/tree/root -type d -print0 | xargs -0 chmod 755

Please explain the "safer" difference in your eyes, Uwe.  Are you thinking the
admin might have ./ in their path?

Cory

-- 
Cory Petkovsek                                       Adapting Information
Adaptable IT Consulting                                Technology to Your
(858) 705-1655                                                   Business
[EMAIL PROTECTED]                                  www.AdaptableIT.com
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to