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

Re: [PATCH] svnadmin create --owner --group patch (new feature)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-09-16 01:08:13 CEST

John Peacock wrote:

> John Peacock wrote:
>
>> Here is my suggestion for automatically creating a new subversion
>> repository with appropriate rights, based on exclusive access by a
>> specific user or group. I'm away from work today, so I have not
>> tested this on Win32.
>
>
> I have not had much luck compiling Apache and Subversion under Windows
> (mostly due to time constraints), so I have not been able to test this
> patch under Win32 as of yet. If anyone who does have the ability to
> compile under Windows could try it, it would be helpful. I expect no
> problems (or effect) at all, since setgid() and setuid() are not Win32
> concepts.

Your patch won't compile at all on Windows, because you're calling
umask, setuid and setgid directly. You'll have to come up with a
portable implementation of those functions (possibly in APR).

By the way, Wun32 _does_ have a setuid concept, although it works a bit
differently than on Unix.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 16 01:09:08 2003

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.