According to Jerry Peek:
> On 21 September, Jason L Tibbitts III <email@example.com> wrote:
> > >>>>> "JP" == Jerry Peek <firstname.lastname@example.org> writes:
> > JP> It looks to me as if the 1.94b2 Makefile must be run as root. That's
> > JP> required on POSIX systems so "wrapper" can be setuid root... and also
> > JP> on non-POSIX systems like BSD where only root can "chown".
> > Yep, you have to make install as root. This guarantees that you can make
> > the necessary directories, and of course to do the chmod so wrapper is
> > setuid.
> > JP> But then, it seems to me, all the files in the home directory will be
> > JP> owned by root!
> > Yeah. I've always changed them just after I install:
> > sudo chown -R lists.list ^wrapper
> > sudo chmod -R g+w ^wrapper
> Hmmm. Seems to me like that should be in the makefile. At the least,
> that step should be put in the INSTALL file. Unfortunately, not
> everyone has tcsh with that ^ operator (for "all except 'wrapper'".)
I ran into that same problem. Could we change the makefile to set
the permissions and ownership correctly on all non-wrapper files and
directories? I will grab the newest version and install it on a new system
and see what other stuff I find.
Also check to see if the home directory exists and if not, make it
and set the ownership. That or as suggested, abort the make and report that
the directory needs to be made and permissions set accordingly. That or just
check to see if the user has permissions to create it and do it then and if not
issue and error.
Earle Ake MSG/SID email@example.com
Hassler Communication Systems Technology, Inc. firstname.lastname@example.org
HCST: 2332 Grange Hall Road; Beavercreek, OH 45431-2345 Phone: 513-427-9000
Base: 4375 Chidlaw Rd. Suite 6; WPAFB, OH 45433-5006 513-257-7492 DSN:787-7492