Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 06:53:59 -0500
From:      "Fafa Diliha Romanova" <fteg@london.com>
To:        questions@freebsd.org
Subject:   chmod equivalent to find commands
Message-ID:  <20050312115359.C14EF4BE6D@ws1-1.us4.outblaze.com>

next in thread | raw e-mail | index | archive | help
hello.

i know there's an equivalent to these two find commands that
can be summed up in one chmod command:

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

it fixes my permissions ...
i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX

what would be the best solution here?

thanks,
-- fafa

--=20
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050312115359.C14EF4BE6D>