Announcement

Collapse
No announcement yet.

odd permissions issue re. audio

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    odd permissions issue re. audio

    okay. here's the story in screendump form:

    dep@depoffice:~/download$ cat sample.au >/dev/audio
    bash: /dev/audio: Permission denied
    dep@depoffice:~/download$ ls -l /dev/audio
    crw-rw---- 1 root audio 14, 4 2007-07-31 20:52 /dev/audio
    dep@depoffice:~/download$ su
    Password:
    root@depoffice:/home/dep/download# cat sample.au >/dev/audio
    root@depoffice:/home/dep/download#

    as root, the file played just fine. so. i joined the group "audio":

    dep@depoffice:~/download$ cat sample.au >/dev/audio
    bash: /dev/audio: Permission denied
    dep@depoffice:~/download$

    and:

    dep@depoffice:~$ ls -l /dev/audio
    crw-rw---- 1 root audio 14, 4 2007-07-31 20:52 /dev/audio

    so. i've misconfigured something here, or something. works as root, doesn't work as notroot.

    anybody know a clean fix?

    thanks.

    #2
    Re: odd permissions issue re. audio

    The quick answer is that a user must belong to the secondary group 'audio'

    Open K Menu | System Settings | User Management

    Click the Administrator Mode button. Highlight your user account name and click the Modify button. In Secondary Groups make sure that audio is present. If it isn't, click the Select button and highlight audio on the left click the Add button.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: odd permissions issue re. audio

      right. did that, as noted. same result, also as noted.

      weird.

      Comment


        #4
        Re: odd permissions issue re. audio

        Hmmm. Tested it on my system - worked fine - using your example (my audio file of course )

        What does groups show for your account?
        Code:
        groups
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: odd permissions issue re. audio

          dep, users, audio

          Comment


            #6
            Re: odd permissions issue re. audio

            Hmm. That's an awfully small groups list. I don't see any administrative groups. These are the groups my account belongs to:
            paul adm dialout cdrom floppy audio dip video plugdev scanner netdev lpadmin powerdev admin
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment

            Working...
            X