Try with

find -type d -exec chmod 755 {} \;
find -type f -exec chmod 644 {} \;

Bye

Valerio Daelli

On Wed, May 7, 2008 at 1:56 PM, Zbigniew Szalbot <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> How do I chmod separately files and directories?
>
> If I use chmod -R 644 then it will go through all the subdirectories
> assigning everything 644 permissions, directories including.
>
> Many thanks!
>
> --
> Zbigniew Szalbot
> www.lc-words.com
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to