Date: Fri, 28 May 1999 10:09:26 -0500 (EST) From: Alfred Perlstein <bright@rush.net> To: Nelson <rjn103s@mgr3.k12.mo.us> Cc: questions@FreeBSD.ORG Subject: Re: (adduser and changing defualt perms on homes) or (chmod -R in cron) Message-ID: <Pine.BSF.3.96.990528100537.9491L-100000@cygnus.rush.net> In-Reply-To: <3.0.6.32.19990528090853.00802390@mgr3s1.mg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 May 1999, Nelson wrote: > Greetings, > > I am wanting to have user home dirs to be defualt to perm 0750 and I have > examined the adduser script but am unsure what to modify to get the desired > results here. > > I think I need modify the sub home_create in the adduser but not for sure. > > I have considered a crontab that will do a chmod -R 750 /usr/home/* to > ensure the desired results by default. You'll soon have your users at your door with pitchforks and torches if you do that. on line 931 of my adduser script i have this: if (!mkdir("$homedir", 0755)) { i'm guessing that if you modify that it'll work. (change the 755 to 750) -Alfred 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?Pine.BSF.3.96.990528100537.9491L-100000>