[debhelper-devel] [debhelper] 01/02: dh_usrlocal: Fix incorrect group name

Niels Thykier nthykier at moszumanska.debian.org
Mon Oct 23 21:19:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 2ecd29c27890d7a8d097144f65cc21f59c740709
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Oct 23 21:17:13 2017 +0000

    dh_usrlocal: Fix incorrect group name
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 3 +++
 dh_usrlocal      | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4713883..b7206c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ debhelper (10.10.3) UNRELEASED; urgency=medium
     with "Rules-Requires-Root" (R³).
   * dh_usrlocal: Ditto.
   * dh_builddeb: Ditto.
+  * dh_usrlocal: Correct the group name when creating directories
+    owned by "root:staff".  Thanks to Paul Gevers for reporting
+    the bug.  (Closes: #879643)
 
  -- Niels Thykier <niels at thykier.net>  Mon, 23 Oct 2017 06:14:30 +0000
 
diff --git a/dh_usrlocal b/dh_usrlocal
index 5045ae6..9d367f5 100755
--- a/dh_usrlocal
+++ b/dh_usrlocal
@@ -83,7 +83,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			my $fn = $File::Find::name;
 			if (-d $fn) {
 				my $user = 'root';
-				my $group = 'group';
+				my $group = 'staff';
 				my $mode = '02775';
 				if (not should_use_root()) {
 					my $stat = stat $fn;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list