summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-25 16:25:00 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-26 22:24:25 +0200
commit6f1f3c9afdb6ade6a7be110b90c8fc9e603254cf (patch)
tree6a65c6a299b69aae7ba51b17e541d1a90f9914d5 /apt-pkg/acquire-item.cc
parent757ec4e1ef633f9867928559df82adf3d0ac7b78 (diff)
Make root group configurable via ROOT_GROUP
This is needed on BSD where root's default group is wheel, not root.
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index f715e060e..88b5a58b5 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -3440,7 +3440,7 @@ void pkgAcqChangelog::Init(std::string const &DestDir, std::string const &DestFi
TemporaryDirectory = tmpname;
ChangeOwnerAndPermissionOfFile("Item::QueueURI", TemporaryDirectory.c_str(),
- SandboxUser.c_str(), "root", 0700);
+ SandboxUser.c_str(), ROOT_GROUP, 0700);
DestFile = flCombine(TemporaryDirectory, DestFileName);
if (DestDir.empty() == false)