Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1541

svnadmin create --owner --group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • all
    • 1.1.0
    • svnadmin
    • None

    Description

      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.
      

      http://www.contactor.se/~dast/svn/archive-2003-09/0970.shtml

      Original issue reported by sander

      Attachments

        1. 1_svnadmin_create5.diff
          9 kB
          Subversion Importer
        2. 2_svnadmin_create5.log
          1 kB
          Subversion Importer
        3. 3_svnadmin_create6.diff
          9 kB
          Subversion Importer
        4. 4_svnadmin_create7.diff
          10 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: