From: Bruno H. <br...@cl...> - 2018-01-12 08:01:28
|
Jean Louis wrote: > > From development version, after "make install", I > > get these permissions on files, which makes it > > impossible to use the postgresql module, I get > > file permission access. > > > > total 452 > > -rw-r----- 1 root root 299 Jan 11 19:50 link.sh > > -rw-r----- 1 root root 1120 Jan 11 19:50 Makefile > > -rw-r----- 1 root root 247456 Jan 11 19:50 postgresql.fas > > -rw-r--r-- 1 root root 25224 Jan 11 19:50 postgresql.lisp > > -rw-r----- 1 root root 148808 Jan 11 19:50 postgresql.o > > -rw-r--r-- 1 root root 528 Jan 11 19:50 README > > -rw-r----- 1 root root 15492 Jan 11 19:50 sql.fas > > -rw-r--r-- 1 root root 3197 Jan 11 19:50 sql.lisp > > I found out, this is happening due to building as > user with different umask, and installing with > sudo make install. Yes, "sudo make install" is supported by many GNU packages. Cf. the GNU standards [1] "This is convenient for building the program under one user name and installing it under another." But you are right, umask is something to care about each time you use 'sudo' or 'su'. Bruno [1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html |