]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-test: do not rely on "mail" group being defined
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Sep 2020 16:09:20 +0000 (18:09 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Sep 2020 16:45:44 +0000 (18:45 +0200)
"audio" should be there, at least we declare it. "mail" nowadays is less
likely to exist than in the past.

Fixes one of the items in #16942.

test/udev-test.pl

index 2480e4120b9492e8b9ae2a7a1c748c34a330dc41..1ab6828d713ab4c62806aedc52c56f4e4d1eaa0b 100755 (executable)
@@ -629,9 +629,9 @@ EOF
                 desc            => "textual user/group id",
                 devpath         => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda",
                 exp_name        => "node",
-                exp_perms       => "root:mail:0660",
+                exp_perms       => "root:audio:0660",
                 rules           => <<EOF
-SUBSYSTEMS=="scsi", KERNEL=="sda", SYMLINK+="node", OWNER="root", GROUP="mail"
+SUBSYSTEMS=="scsi", KERNEL=="sda", SYMLINK+="node", OWNER="root", GROUP="audio"
 EOF
         },
         {