From owner-freebsd-questions Wed Jul 10 22:21:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7843B37B400 for ; Wed, 10 Jul 2002 22:21:25 -0700 (PDT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F5A743E09 for ; Wed, 10 Jul 2002 22:21:25 -0700 (PDT) (envelope-from parv@pair.com) Received: from sdn-ar-008dcwashp272.dialsprint.net ([63.178.90.202] helo=moo.holy.cow) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17SWOI-0003BR-00; Wed, 10 Jul 2002 22:21:22 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id F340E50BFA; Thu, 11 Jul 2002 01:24:00 -0400 (EDT) Date: Thu, 11 Jul 2002 01:24:00 -0400 From: parv To: Kjell - LA3SG Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how do you set umask? Message-ID: <20020711052400.GA4178@moo.holy.cow> Reply-To: f-q Mail-Followup-To: Kjell - LA3SG , freebsd-questions@FreeBSD.ORG References: <3D2C2428.16456.18CFB98@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D2C2428.16456.18CFB98@localhost> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <3D2C2428.16456.18CFB98@localhost>, wrote Kjell - LA3SG thusly... > > My problem is, how do I set umask before doing the make reinstall? RTFM. check your shell's man page in additiom to chmod(1). in bash2 & ksh93: umask > Now permissions on files generated by webalizer are set to 600, > while they have to be 644 to be accessible through the web server. RTFM. you could use find(1), xargs(1), & chmod(1) to remedy that. see the respective manpages. in the mean time: find -perm 600 | xargs chmod 644 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message