~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to lib/common/makeuser.py

  • Committer: drtomc
  • Date: 2008-02-21 03:03:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:528
usrmgt-server: robustify svn url handling a bit.

setup: install usrmgt-server

makeuser.py: When creating a new repo for a user, chown it so that
    the apache svn server can manipulate it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        print repr(exc)
55
55
        if throw_on_error:
56
56
            raise
 
57
    try:
 
58
        os.system("chown -R www-data:www-data %s" % path)
 
59
    except Exception:
 
60
        pass
57
61
 
58
62
def rebuild_svn_config():
59
63
    """Build the complete SVN configuration file.