mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 05:35:52 +03:00
Base: Add an "audio" group that gets to write to /dev/audio
This commit is contained in:
parent
498659773c
commit
f558c8e36a
Notes:
sideshowbarker
2024-07-19 10:22:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f558c8e36a3
@ -2,4 +2,5 @@ root:x:0:
|
||||
wheel:x:1:anon
|
||||
tty:x:2:
|
||||
phys:x:3:anon
|
||||
audio:x:4:anon
|
||||
users:x:100:anon
|
||||
|
@ -4,9 +4,7 @@ set -e
|
||||
|
||||
tty_gid=2
|
||||
phys_gid=3
|
||||
|
||||
# HACK: Get rid of old "qs" binaries still lying around from before it was renamed.
|
||||
rm -f ../Userland/qs
|
||||
audio_gid=4
|
||||
|
||||
die() {
|
||||
echo "die: $*"
|
||||
@ -60,8 +58,9 @@ mknod mnt/dev/psaux c 10 1
|
||||
chmod 440 mnt/dev/psaux
|
||||
chown 0:$phys_gid mnt/dev/psaux
|
||||
mknod mnt/dev/audio c 42 42
|
||||
chmod 220 mnt/dev/audio
|
||||
chown 0:$audio_gid mnt/dev/audio
|
||||
mknod mnt/dev/ptmx c 5 2
|
||||
chmod 666 mnt/dev/audio
|
||||
chmod 666 mnt/dev/ptmx
|
||||
mknod mnt/dev/hda b 3 0
|
||||
mknod mnt/dev/hdb b 3 1
|
||||
|
Loading…
Reference in New Issue
Block a user