Date: Sun, 30 Apr 2000 15:32:48 +0200 From: Gary Jennejohn <garyj@peedub.muc.de> To: Dean Hollister <dean@odyssey.apana.org.au> Cc: Derrick Baumer <bduk@earthlink.net>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: chmod Message-ID: <200004301332.PAA00731@peedub.muc.de> In-Reply-To: Your message of "Sun, 30 Apr 2000 20:24:42 %2B0800." <Pine.BSF.4.21.0004302023290.25067-100000@odyssey.apana.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Dean Hollister writes: >On Sun, 30 Apr 2000, Derrick Baumer wrote: > >> If you can find someone who isn't too paranoid about security issues, >> or someone who knows you that is running the same version of the >> system as you are, you can get them to execute > >It's FreeBSD 4.0-RELEASE, installed over FTP. > >> ls -lR /usr > listing >> cat listing | mail you@email.address >> >> Then write a quick perl script to set your permissions to the same >> permissions as those shown in the file. I am personally a paranoid >> type, but I might be able to throw a script together to do the job for >> you. > >Thanks for the offer, it is very much appreciated. > >I would use a listing of one of our systems (as I implicitly trust the >person), however we now run 4.0-STABLE, and somethings might be different. > Use mtree. See the manpage. You can set the standard permissions for any file tree under /etc/mtree using it. --- Gary Jennejohn / garyj@muc.de gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004301332.PAA00731>