From nobody Fri Dec 17 09:34:20 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AD89818F269C for ; Fri, 17 Dec 2021 09:34:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JFkMc2sxvz3pj3 for ; Fri, 17 Dec 2021 09:34:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 43D6519996 for ; Fri, 17 Dec 2021 09:34:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BH9YKca028166 for ; Fri, 17 Dec 2021 09:34:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BH9YK3G028165 for bugs@FreeBSD.org; Fri, 17 Dec 2021 09:34:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260489] Permissions on audio and midi devices Date: Fri, 17 Dec 2021 09:34:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: meka@tilda.center X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639733660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ViLprcss7kKlfMyGfv0n1HdkdyHwixBhEWGXYFFkN1I=; b=I6OtoS0ZrOxbx9KCbxI86kL1gqkFeoZsWPFSfvJn9mhis7U1VyLAuZt1WV4eWfpkMt1vbk N7tePaDYMZV98TQTea/ssSQEx7N1hguqw3mcxYOmNa+QokjT6mub8nWTQrhB1G3dE4wGOt ytx+FfIYk6r1Txqns6Cg5xRhnR0JUT3xphIXwaRYwuCWLUkABqIZ63ngJQozm/wWDHfEdU mZ0vSxGhdAfryiJlOQcQVSSAxhA7FY/C0TSMvv+3fNndjQvHtyeec+9tVbP2nPNfG1oNCk IkVzZFO/435PaKfmHzDqKOXE7LNhd/1fuR8BVIiUqSn7WR4KSS3xmIc3POfvxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639733660; a=rsa-sha256; cv=none; b=xiI5oFKt7zI4EwpjkRtqPNrBQK9+eusTeaERtjrZwQK2em8voTX5RseF0L19EeiOq8Ghd1 9jj0hFkT7y5JGNmNu+k7qMDSbEY0b7NJDMJnyHsZD89+e1MPOcOTzKG4gI+Wk6eFsEMXxA 7uzoyYtG5liD1O/mwhDt13Jr3DQXvpkp+G6e4I5u/bd4DFbfSmkFhwCd14Ef5LWy814eNc MD3nvSxjdaKqNJCm9R7zW9VqHc4a476MddLuZOiN4bUSi9+OHvQ+kDsl9zkrl4LtaCFjWJ e/znr9uxuraDE1pMhGkG9syqkWk1XsUbCjktUrrl2KHSiNT5CcZghPXN31Xryw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260489 Bug ID: 260489 Summary: Permissions on audio and midi devices Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: meka@tilda.center To give just an example, /dev/umidi* have 644 perms, which means I can read MIDI in, but not write to MIDI out. I spent hours trying to identify faulty cable only to realize it's the device file that doesn't have proper permissions. My suggestion is to either have audio group with rw permission= s on dsp, midi and umidi devices or to adjust permissions on those devices so everyone can read and write. I slightly prefer dedicated audio group as that way I can limit who has access to audio hardware. I am posting here for a discussion and whatever we decide, I'll be glad to implement. --=20 You are receiving this mail because: You are the assignee for the bug.=