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

Re: forcing strange umasks

From: Jens-D. Neppe <jn_at_linux-fuer-alle.de>
Date: 2004-08-13 19:48:20 CEST

Hello!

Is there no configuration file automatically read by SSH I
can put an alias entry into?

Jens

* Marc Haisenko <haisenko@webport.de> [040813 16:56]:
> On Friday 13 August 2004 09:27, Jens-D. Neppe wrote:
> > Hello!
> >
> > I would like to mention that I did not use a wrapper
script
> > (like descibed in the subversion book) to force the
umask
> > set to 002. I simply made an addition to the
/etc/profile
> > (using debian woody) like this
> >
> > alias svnserve="umask 002; svnserve"
> >
> > . Please let me know if this is complete nonsense. But
ist
> > really seems to work. Perhaps this way to define umasks
> > could be added to the book?
> >
> > Tank you,
> >
> > Jens
>
> Well, this works only if svnserve is called by a shell
which interpreted the
> /etc/profile first, which is not always the case. For
example, according to
> its man page, bash only interprets the /etc/profile when
it's invoked as an
> "interactive" shell or when the --login option is given.
Interactive means
> both stdin and stdout are connected to a terminal and
"-c" was not given.
>
> So I guess when you're using svn co svn+ssh://... your
/etc/profile will not
> get interpreted, and thus your umask won't be in effect.
>
> C'ya,
> Marc
>
> --
> Marc Haisenko
> Systemspezialist
> Webport IT-Services GmbH
> mailto: haisenko@webport.de
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 14 10:07:01 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.