Date: Thu, 11 Jul 2002 01:24:00 -0400 From: parv <parv@pair.com> To: Kjell - LA3SG <kmidtset@c2i.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how do you set umask? Message-ID: <20020711052400.GA4178@moo.holy.cow> In-Reply-To: <3D2C2428.16456.18CFB98@localhost> References: <3D2C2428.16456.18CFB98@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mask> > 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 <dir> -perm 600 | xargs chmod 644 -- 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?20020711052400.GA4178>