#13 Install problem

None
open
nobody
2018-01-27
2008-03-05
No

The makefile attempts to install with
both user and group set to $(USER).

This is often correct, but not always,
especially if the installation is done into a user's
account rather than on a system-wide basis.

Also, on Debian systems, /usr/local is owned
by group staff, so an installation into /usr/local
might best be done with user=$(USER) group=staff.

Anyhow, what's in the Makefile is a reasonable default
assumption, but you should have a mechanism to allow
user != group. At the least, you should insert some
comments into the Makefile or add an INSTALL file that
describes what to do.

Discussion

  • Greg Kochanski

    Greg Kochanski - 2008-03-05
    • priority: 5 --> 2
     
  • Jim Pattee

    Jim Pattee - 2010-10-21
    • labels: --> Feature Request
     
  • Jim Pattee

    Jim Pattee - 2018-01-27

    Ticket moved from /p/astyle/bugs/24/

     

Log in to post a comment.