Skip to content

DEFECT: Install permissions of lib/cmake incorrect for sudo make install #685

Open
@zbeekman

Description

@zbeekman
  • I am reporting a bug others will be able to reproduce and not asking a question or requesting a new feature.

System information including:

  • OpenCoarrays Version: master
  • Fortran Compiler: all
  • C compiler used for building lib: any
  • Installation method: cmake (and maybe install.sh)
  • All flags & options passed to the installer: None other than using sudo
  • Output of uname -a: Linux but may affect mac too
  • MPI library being used: MPICH
  • Machine architecture and number of physical cores: 4
  • Version of CMake: 3.14.3

To help us debug your issue please explain:

What you were trying to do (and why)

System install to default location

What happened (include command output, screenshots, logs, etc.)

sudo make install created /usr/local/lib64/cmake and sub-directories with the wrong permissions. umask would have fixed this, BUT it might be good to handle this from the installer? Need to check.

What you expected to happen

Be able to read all installed files as any user

Step-by-step reproduction instructions to reproduce the error/bug

cmake ..
make -j 4
sudo make install # /usr/local/lib64/cmake does not yet exist

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions