* Correction: Directory permission created by "make install" (egcs-1.0.*)
1998-04-16 22:46 Directory permission created by "make install" (egcs-1.0.*) Michael Roth
@ 1998-04-16 18:39 ` Michael Roth
1998-04-17 3:39 ` Andreas Schwab
1 sibling, 0 replies; 6+ messages in thread
From: Michael Roth @ 1998-04-16 18:39 UTC (permalink / raw)
To: egcs
On Fri, 17 Apr 1998, Michael Roth wrote:
> ~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include
~~~~~~~~~~~~~~~~~~~
Of course, I mean ~egcs-1.0.2/lib/gcc-lib/...
Additionally I noted their are some files with permission 600 instead of
644 in this directory tree.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Directory permission created by "make install" (egcs-1.0.*)
@ 1998-04-16 22:46 Michael Roth
1998-04-16 18:39 ` Correction: " Michael Roth
1998-04-17 3:39 ` Andreas Schwab
0 siblings, 2 replies; 6+ messages in thread
From: Michael Roth @ 1998-04-16 22:46 UTC (permalink / raw)
To: egcs
Hi,
egcs-1.0.* installs following directories with mode 700 even if I set the
umask to 022 before typing "make install":
~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include
~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/sys
~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/net
~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/sys/sys
~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/objc
It doesn't matter which plattform used (I found this on linux and
solaris, too).
I think this is a bug, isn't it? I changed the permissions to 755 of these
directories.
cu
Michael
o-------------------------------------------------------o
! arago, Michael Roth !
! Institut fuer komplexes Software Engineer !
! Datenmanagement GmbH eMail: mroth@arago.de !
! Fichtestr. 12 !
! 60316 Frankfurt am Main http://www.arago.de !
! Tel: +49-69-40568-0 Fax: +49-69-40568-111 !
o-------------------------------------------------------o
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory permission created by "make install" (egcs-1.0.*)
1998-04-16 22:46 Directory permission created by "make install" (egcs-1.0.*) Michael Roth
1998-04-16 18:39 ` Correction: " Michael Roth
@ 1998-04-17 3:39 ` Andreas Schwab
1998-04-17 8:55 ` Jeffrey A Law
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 1998-04-17 3:39 UTC (permalink / raw)
To: Michael Roth; +Cc: egcs
Michael Roth <mroth@arago.de> writes:
|> Hi,
|> egcs-1.0.* installs following directories with mode 700 even if I set the
|> umask to 022 before typing "make install":
|> ~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include
|> ~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/sys
|> ~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/net
|> ~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/sys/sys
|> ~egcs-1.0.2/gcc-lib/mips-sgi-irix5.3/egcs-2.90.27/include/objc
|> It doesn't matter which plattform used (I found this on linux and
|> solaris, too).
|> I think this is a bug, isn't it? I changed the permissions to 755 of these
|> directories.
The directories are copied with tar, thus they inherit all permissions
from the build directory.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory permission created by "make install" (egcs-1.0.*)
1998-04-17 3:39 ` Andreas Schwab
@ 1998-04-17 8:55 ` Jeffrey A Law
1998-04-17 16:36 ` Michael Roth
1998-04-20 2:20 ` Andreas Schwab
0 siblings, 2 replies; 6+ messages in thread
From: Jeffrey A Law @ 1998-04-17 8:55 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Michael Roth, egcs
In message < vyz4szs7qy8.fsf@issan.informatik.uni-dortmund.de >you write:
> The directories are copied with tar, thus they inherit all permissions
> from the build directory.
Ah, easy to forget about the files copied with tar/cpio.
One could certainly argue that that the "p" in TAROUTOPTS is
wrong.
jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory permission created by "make install" (egcs-1.0.*)
1998-04-17 8:55 ` Jeffrey A Law
@ 1998-04-17 16:36 ` Michael Roth
1998-04-20 2:20 ` Andreas Schwab
1 sibling, 0 replies; 6+ messages in thread
From: Michael Roth @ 1998-04-17 16:36 UTC (permalink / raw)
To: law; +Cc: Andreas Schwab, egcs
On Fri, 17 Apr 1998, Jeffrey A Law wrote:
> In message < vyz4szs7qy8.fsf@issan.informatik.uni-dortmund.de >you write:
> > The directories are copied with tar, thus they inherit all permissions
> > from the build directory.
> Ah, easy to forget about the files copied with tar/cpio.
>
> One could certainly argue that that the "p" in TAROUTOPTS is
> wrong.
What about two lines like these in Makefiles for targets which use tar/cpio
to install some stuff:
find _SOME_PATH_ -type d -exec chmod a+rx \{\} \;
and find _SOME_PATH_ -type f -exec chmod a+r \{\} \;
All remaining targets in Makefiles are using 'chmod' to ensure correct
permissions on installed directories and files.
Targets using tar/cpio should ensure correct permissions too, shouldn't they?
cu
Michael
o-------------------------------------------------------o
! arago, Michael Roth !
! Institut fuer komplexes Software Engineer !
! Datenmanagement GmbH eMail: mroth@arago.de !
! Fichtestr. 12 !
! 60316 Frankfurt am Main http://www.arago.de !
! Tel: +49-69-40568-0 Fax: +49-69-40568-111 !
o-------------------------------------------------------o
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Directory permission created by "make install" (egcs-1.0.*)
1998-04-17 8:55 ` Jeffrey A Law
1998-04-17 16:36 ` Michael Roth
@ 1998-04-20 2:20 ` Andreas Schwab
1 sibling, 0 replies; 6+ messages in thread
From: Andreas Schwab @ 1998-04-20 2:20 UTC (permalink / raw)
To: law; +Cc: Michael Roth, egcs
Jeffrey A Law <law@hurl.cygnus.com> writes:
|> In message < vyz4szs7qy8.fsf@issan.informatik.uni-dortmund.de >you write:
|> > The directories are copied with tar, thus they inherit all permissions
|> > from the build directory.
|> Ah, easy to forget about the files copied with tar/cpio.
|> One could certainly argue that that the "p" in TAROUTOPTS is
|> wrong.
That does not change anything, since removing it only means that tar uses
the user's umask during extraction.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-04-20 2:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-16 22:46 Directory permission created by "make install" (egcs-1.0.*) Michael Roth
1998-04-16 18:39 ` Correction: " Michael Roth
1998-04-17 3:39 ` Andreas Schwab
1998-04-17 8:55 ` Jeffrey A Law
1998-04-17 16:36 ` Michael Roth
1998-04-20 2:20 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).