Re: File permissions in modules

Bruno Haible <[email protected]> Fri, 12 Jan 2018 09:01:17 +0100
Newsgroups gmane.lisp.clisp.devel
Message-ID <2764097.ITWkKHGpAY@omega>
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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel