[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: APR/Subversion "make install" bug

From: Michael Sweet <mike_at_easysw.com>
Date: 2004-08-12 16:21:19 CEST

Bruce Elrick wrote:
> Patrik Rådman wrote:
>
>> Hi,
>>
>> I have umask set to 077. When I run "make install" for Subversion,
>> libapr and libaprutil get only "-rwx------" permissions, which causes
>> this error:
>>
>> % svn
>> svn: error while loading shared libraries: libaprutil-0.so.0: cannot open
>> shared object file: No such file or directory
>>
>> Please fix the makefile to set correct permissions.
>>
>>
>>
> umask is considered a 'local' setting; there are many reasons to set it
> to various values depending on your local circumstances. It would not
> make sense to set it in the makefile of a software package; someone else
> would have a problem with that overriding their umask settings and
> wondering why this was done.
> If you install software as one user and run it as another, then you
> should take ownership of understanding that you must temporarily set the
> first user's umask to a sensible value (022?) when you do the install step.

FWIW, if an application/library's makefile uses the "install" command,
the default permissions can be specified so that the umask setting
is irrevelant. This is pretty common practice...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 12 16:22:00 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.