vendor/tramline

changeset 20:5b9e1e843689 gracinet-fix-range

#2226: permissions for repository
author Georges Racinet on ishtar.racinet.fr <georges@racinet.fr>
date Tue, 24 Aug 2010 18:14:05 +0200
parents 23d25b2f5d34
children e2bf58ca5cf0
files CHANGES src/tramline/core.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/CHANGES
     1.2 +++ b/CHANGES
     1.3 @@ -6,7 +6,7 @@
     1.4  -
     1.5  Bug fixes
     1.6  ~~~~~~~~~
     1.7 --
     1.8 +- #2226: permissions for repository
     1.9  New internal features
    1.10  ~~~~~~~~~~~~~~~~~~~~~
    1.11  - 
     2.1 --- a/src/tramline/core.py
     2.2 +++ b/src/tramline/core.py
     2.3 @@ -48,7 +48,7 @@
     2.4                             tramline_repository_path(req))):
     2.5          if not os.path.isdir(p):
     2.6              os.mkdir(p)
     2.7 -            if i == 2 and group_write(req):
     2.8 +            if i == 3 and group_write(req):
     2.9                  # drwxrwsr-x
    2.10                  # (set-group-ID-on-execution bit)
    2.11                  os.chmod(p, 02775)