You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running "sudo make install" or simply "make install" as root, the Makefile assumes root umask is something like 0022. Which is just an ... assumption, not a fact.
Many system administrator set root umask to 0077 (no file is created world-readable or world-executable).
The command "install" (from GNU coreutils) has the "--mode" option to enforce file and directory permissions during the file copy. Which very likely is "0644" for Cello.h and libCello.a, and "0755" for libCello.so.
The text was updated successfully, but these errors were encountered:
Thanks for the report. Sorry I'm not really a unix expert. So the issue is that installing libraries with cp does not work in some cases? So what is the fix for this?
When running "
sudo make install
" or simply "make install
" as root, theMakefile
assumes root umask is something like0022
. Which is just an ... assumption, not a fact.Many system administrator set root umask to
0077
(no file is created world-readable or world-executable).The command "
install
" (from GNUcoreutils
) has the "--mode
" option to enforce file and directory permissions during the file copy. Which very likely is "0644
" forCello.h
andlibCello.a
, and "0755
" forlibCello.so
.The text was updated successfully, but these errors were encountered: