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

Re: umask wrapper

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2004-10-13 16:08:23 CEST

Faine, Mark wrote:

>I'd like to create bash wrapper scripts for svnlook, svnadmin and svnserve
>that change the umask to 002 before running the command but reset it back to
>022 afterwards. How can I do this?
>
>
The umask is a process property which means that setting it in the child
process (e.g. the hook script) will not affect the parent process (e.g.
your shell, svnserve or httpd). There is no need to reset it.

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 16:08:52 2004

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

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