Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 01:39:19 -0500
From:      James <james@hicag.org>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Possible Clang regression - object files are always mode 0600
Message-ID:  <CAD4099=POFm_bpBGjLXozFF9MX1SrAc-UCR8SwRnh7LVf=FdoQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all. I've come across a possible Clang regression that recently
crept into stable/9. I'd like to check to see whether it's a true bug
or if I jacked something up. It appears all object files are created
with mode 0600 rather than honoring umask. This breaks installworld
for me. I use a centralized src/obj over NFS configuration and
installing to the target system fails with a permission denied error.

Using obj/[SNIP]/src/cddl/lib/drti as an
example:

Clang:
-rw-r--r--   1 jjk  users  7731 May 24 15:05 .depend
-rw-------   1 jjk  users  8496 May 24 15:05 drti.o

GCC:
-rw-r--r--   1 jjk  users  7731 May 24 20:54 .depend
-rw-r--r--   1 jjk  users  8808 May 24 20:54 drti.o

I tested on May 24th (with 3.1 prerelease MFC) as well as the 3.1
release after it was MFC'd on Sunday.

TIA!

-- 
James.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD4099=POFm_bpBGjLXozFF9MX1SrAc-UCR8SwRnh7LVf=FdoQ>