Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
zbeekman opened this issue Oct 3, 2019 · 1 comment
Open
1 task done

Comments

@zbeekman
Copy link
Collaborator

zbeekman commented Oct 3, 2019

  • 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
@zbeekman
Copy link
Collaborator Author

zbeekman commented Oct 3, 2019

This may be a "won't fix" because using correct umask is typically how people control software permissions during make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant