Directory permission created by "make install" (egcs-1.0.*)
Michael Roth
mroth@arago.de
Fri Apr 17 16:36:00 GMT 1998
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
More information about the Gcc
mailing list