Your message dated Mon, 19 Jul 2010 21:17:06 +0000
with message-id <[email protected]>
and subject line Bug#589410: fixed in apt-cacher-ng 0.5-1
has caused the Debian Bug report #589410,
regarding apt-cacher-ng: allow creating group writeable directories
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 [email protected]
immediately.)
--
589410: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589410
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 0.4.7-1
Severity: normal
Hello Eduard,
My "apt cache" is also updated by another unix user
as the unix user 'apt-cacher-ng'.
To allow both operating system user to update the archive,
I have put them in the same unix group and SGID the dir.
However apt-cacher-ng does 'mkdir' hardcoded with mode 755
and blocks so the user on updating in the same directory.
My workaround is now
--- source/meta.cc.pristine
+++ source/meta.cc
@@ -35,7 +35,7 @@
for(UINT pos=0; pos<path.size(); pos=path.find("/", pos+1))
{
if(pos>0)
- mkdir(path.substr(0,pos).c_str(), 00755);
+ mkdir(path.substr(0,pos).c_str(), 00775);
}
}
/*
A cleaner solution would be
--- source/meta.cc.pristine
+++ source/meta.cc. UNTESTED
@@ -35,7 +35,7 @@
for(UINT pos=0; pos<path.size(); pos=path.find("/", pos+1))
{
if(pos>0)
- mkdir(path.substr(0,pos).c_str(), 00755);
+ mkdir(path.substr(0,pos).c_str(), (00777 & !umask));
}
}
/*
The '0777 and not(umask)' will create group writeable directory when
the umask is 002. With default umask, 022, becomes the directory
only owner writeable.
Groeten
Geert Stappers
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 0.5-1
We believe that the bug you reported is fixed in the latest version of
apt-cacher-ng, which is due to be installed in the Debian FTP archive:
apt-cacher-ng_0.5-1.diff.gz
to main/a/apt-cacher-ng/apt-cacher-ng_0.5-1.diff.gz
apt-cacher-ng_0.5-1.dsc
to main/a/apt-cacher-ng/apt-cacher-ng_0.5-1.dsc
apt-cacher-ng_0.5-1_amd64.deb
to main/a/apt-cacher-ng/apt-cacher-ng_0.5-1_amd64.deb
apt-cacher-ng_0.5.orig.tar.gz
to main/a/apt-cacher-ng/apt-cacher-ng_0.5.orig.tar.gz
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Eduard Bloch <[email protected]> (supplier of updated apt-cacher-ng 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 19 Jul 2010 22:45:48 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 0.5-1
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[email protected]>
Changed-By: Eduard Bloch <[email protected]>
Description:
apt-cacher-ng - caching proxy server for software repositories
Closes: 589410 589630
Changes:
apt-cacher-ng (0.5-1) unstable; urgency=low
.
* New upstream version
+ initiates the connection shutdown correctly, prevents freezes with
clients that wait for server (closes: #589630)
+ now respecting umask value in creation permissions (closes: #589410),
also makes the default permissions configurable through DirPerms and
FilePerms variables
Checksums-Sha1:
17e246d00633afbfa2ecf483d37b749046e9fc0d 1018 apt-cacher-ng_0.5-1.dsc
0bc967d00a626ea80552a169d0e89902036fb8df 229019 apt-cacher-ng_0.5.orig.tar.gz
8da1d81c3a56e08b5bb5b1f1852cce60025e7fab 22463 apt-cacher-ng_0.5-1.diff.gz
4d7e88ddc0da56e1a1878401210ad188301f4ecb 330774 apt-cacher-ng_0.5-1_amd64.deb
Checksums-Sha256:
bc9aac4d1afef68b8081030a3199c2a3b2822e0c55ea2aae39ba071daf3cbaad 1018
apt-cacher-ng_0.5-1.dsc
f09f254631ac2ef59e797dc1f8cc2ab08560b20ec9be7ef9e93ca37f1f9eed29 229019
apt-cacher-ng_0.5.orig.tar.gz
4e50ce27b45a3dc47ec889e2ceba5ece3c429319cd511f0de12d3b0288871d9c 22463
apt-cacher-ng_0.5-1.diff.gz
93d111cf32ef3383253581241c2b307380b5f88d6a045e0ae685539ee68baa4a 330774
apt-cacher-ng_0.5-1_amd64.deb
Files:
d28655b07664dba6c5d18551001816c8 1018 net optional apt-cacher-ng_0.5-1.dsc
e5fa0ed87c9bb596271577685d7b1247 229019 net optional
apt-cacher-ng_0.5.orig.tar.gz
97d87ca3efb83788a58588eedb05482a 22463 net optional apt-cacher-ng_0.5-1.diff.gz
2105327df7e7e79cb7cb2798b5f14d95 330774 net optional
apt-cacher-ng_0.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFMRLvF4QZIHu3wCMURAic0AJ4+dTOkfMTzoGvZA2A8WHM30fHBLgCfSWpF
7sydU4MTdolVnexeiFBzGwo=
=a897
-----END PGP SIGNATURE-----
--- End Message ---