Your message dated Tue, 10 Nov 2009 21:33:57 +0000
with message-id <e1n7yld-0005u9...@ries.debian.org>
and subject line Bug#544246: fixed in gitosis 0.2+20090917-2
has caused the Debian Bug report #544246,
regarding gitosis creates repositories with permission 750, should be 755
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
544246: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544246
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gitosis
Version: 0.2+20080825-15

Preconditions
- gitweb is properly configured to display repositories managed by gitosis
- I have defined repository "foo" in gitosis-admin/gitosis.conf by adding
  a "[repo foo]" section with "gitweb = yes" and "daemon = yes" entries;
  the repo is also marked writable in one group
- I have pushed the changes in gitosis.conf to the server
- The repository foo does not exist on the server side, i.e. there is no
  directory /srv/gitosis/repositories/foo
- I have a bare git repository on the local side
- Inside the bare repo's directory I have run
  "git remote add origin gito...@myserver:foo.git"

Action
- Inside the bare repo's directory I run "git push --all"

Result
- The repository is created on the server side, i.e. there is now a
  directory /srv/gitosis/repositories/foo
- The top-level directory /srv/gitosis/repositories/foo has permissions
  750 and owner/group = gitosis/gitosis

Problem
- gitweb does not display the repository
- Reason: The web server runs with user/group = www-data/www-data, but this
  user/group combination does not have permission to enter the repository's
  top-level directory
- I have not yet tested the setup with the git-daemon-run package, but I
  imagine that git-daemon-run will have the same problem as gitweb since
  it runs with user/group = git-daemon:nogroup

Solution
- gitosis should create repositories with permissions 755
- What would also work is to add user www-data to the group gitosis, but I
  would vastly prefer the above
- To be a bit paranoid, it might be ok for gitosis to change permissions
  to 755 only after "gitweb = yes" or "daemon = yes" has been set; if both
  are set to "no", permissions could be reverted to 750


Thanks
Patrick





--- End Message ---
--- Begin Message ---
Source: gitosis
Source-Version: 0.2+20090917-2

We believe that the bug you reported is fixed in the latest version of
gitosis, which is due to be installed in the Debian FTP archive:

gitosis_0.2+20090917-2.diff.gz
  to main/g/gitosis/gitosis_0.2+20090917-2.diff.gz
gitosis_0.2+20090917-2.dsc
  to main/g/gitosis/gitosis_0.2+20090917-2.dsc
gitosis_0.2+20090917-2_all.deb
  to main/g/gitosis/gitosis_0.2+20090917-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 544...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <dan...@debian.org> (supplier of updated gitosis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 10 Nov 2009 21:24:19 +0100
Source: gitosis
Binary: gitosis
Architecture: source all
Version: 0.2+20090917-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <dan...@lists.debian-maintainers.org>
Changed-By: Daniel Baumann <dan...@debian.org>
Description: 
 gitosis    - git repository hosting application
Closes: 544246 551721
Changes: 
 gitosis (0.2+20090917-2) unstable; urgency=low
 .
   * Correcting wrong vcs-browser field.
   * Don't hardcode username in postinst (Closes: #551721).
   * Adding patch to create directories and repositories by default with
     0755 instead of 0750 (Closes: #544246).
   * Replacing some Germanisms from the German debconf translations.
   * Setting last-translator for German debconf templates to me, no
     intention do deal with debian-l10n-german in the future anymore.
Checksums-Sha1: 
 cd912d8899101941ab70aa448fd3c8188e403a80 1256 gitosis_0.2+20090917-2.dsc
 ebc689e350834ae18b4492f49f07d19da2e9d93f 16375 gitosis_0.2+20090917-2.diff.gz
 1f2e49d06fb0e603d22e738f0d551b4a3b217c4f 40808 gitosis_0.2+20090917-2_all.deb
Checksums-Sha256: 
 ef806f9fda4e0e8f18b78d6b51246dcb46cc11d2063d18c12cf79d1b54688308 1256 
gitosis_0.2+20090917-2.dsc
 fe60cd190b05ad2a5145ce9845f9b055bf8b428ddc54193ebd47fda7fae0e21a 16375 
gitosis_0.2+20090917-2.diff.gz
 fe648c01ee1ae39b0af7de980008d51747194f08ecc9b2d063ce97840fbd660f 40808 
gitosis_0.2+20090917-2_all.deb
Files: 
 a13013bf3cd421e8eca9034dd92542e5 1256 vcs optional gitosis_0.2+20090917-2.dsc
 acf7c10413d1cc8e26d01be6a834afa9 16375 vcs optional 
gitosis_0.2+20090917-2.diff.gz
 329066d7a278c741c2814e945b15d627 40808 vcs optional 
gitosis_0.2+20090917-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkr52UYACgkQ+C5cwEsrK57/iQCeJdbrPt09+JXOjy/MQ7IbFpYb
ORAAoKNcoNj2NqWkj07PnnUac5g/wEGm
=hDI5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to