Date: Thu, 8 Apr 2004 22:55:15 -0700 From: Bill Campbell <freebsd@celestial.com> To: freebsd-questions@freebsd.org Subject: Re: changing directory permissions recursively Message-ID: <20040409055515.GA50737@alexis.mi.celestial.com> In-Reply-To: <000501c41df5$519419f0$0200a8c0@satellite> References: <000501c41df5$519419f0$0200a8c0@satellite>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 09, 2004, dave wrote: >Hello, > I've got a problem, a directory area has the wrong permissions, occurred >from a dump restore. Now my user's can't get to the files within the area. I >could go around and do chmod permissions directoryname, but i was wondering >if there was a perl or shell script that would do this? cd $topdir find . -type d | xargs chmod 755 Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Everybody is ignorant, only on different subjects.'' Will Rogers
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040409055515.GA50737>