[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    =?UTF-8?B?W0lzc3VlIDE1NDFdIE5ldyAtIHN2bmFkbWluIGNyZWF0ZSAtLW93bg==?=
From:       sander () tigris ! org
Date:       2003-09-30 9:00:32
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=1541
                  Issue #:|1541
                  Summary:|svnadmin create --owner --group
                Component:|subversion
                  Version:|current
                 Platform:|All
                      URL:|http://www.contactor.se/~dast/svn/archive-2003-
                          |09/0970.shtml
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|svnadmin
              Assigned to:|issues@subversion
              Reported by:|sander






------- Additional comments from sander@tigris.org Tue Sep 30 02:00:32 -0700 2003 -------
John Peacock is still working on an improved version of the patch but asked me 
to file an issue anyway. 
The current version of the patch is available at 
http://www.contactor.se/~dast/svn/archive-2003-09/0970.shtml

Log message:
Implement two new options to the 'svnadmin create' command to explicitely 
create a new repository with rights appropriate for either 

1) exclusive access by a single user/process 
2) shared access by all members of an existing system group 

This is likely to only be relevant to Unix-like operating systems, 
where chmod(), setgid(), and setuid() are meaningful. 

* configure.in 
    Add tests to check for existance of chmod, setgid, and setuid 

* subversion/svnadmin/main.c 
    (#include) - need svn_private_config.h in order to get autoconf #define's 

    (enum),(options_table),(cmd_table): add owner_id, group_id to option tables 

    (subcommand_create): Add logic to get system UID and GID and switch 
    current process to those values before calling svn_repos_create() 

* doc/book/book/ch05.xml 
    (svn-ch-5-sect-2): Add paragraph and link to discussion of --owner and 
    --group options in svn-ch-5-sect-5. 

    (svn-ch-5-sect-5): Document the use of --owner and --group to create 
    the repository with specific rights for limited repository access.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
For additional commands, e-mail: issues-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic