Last week I was able to run alsamixer as a user on the Sony Vaio; this > morning I cannot because the system tells me that there is no such file or > directory as alsamixer, even when passed the absolute path of > /usr/bin/alsamixer. Root has no problems with this file. The permissions > are > 755 so a user should be able to execute it. If the distribution is > applicable > it's Slackware-14.0/x86_64 will all security patches applied. > > The man page does not seem to help me; command line options are > ineffective if the executable cannot be found. Web searches for 'alsamixer > not found' and 'alsamixer not found for user' did not return anything > relevant. > > There must be a simple reason for this but I have difficulty finding the > reason and solution. > > Rich >
-- If it's true that the alsamixer executable file does exist and you can execute it as root but not as a non-root user than run the *"id <user>"* command to verify if your user is in the audio group. *mannix@mc-crunch:~$ id mannix* id mannix uid=1000(mannix) gid=1000(mannix) groups=1000(mannix),20(dialout),24(cdrom),25(floppy),27(sudo),*29(audio)* ,30(dip),44(video),46(plugdev),100(users),107(netdev),108(bluetooth),109(fuse),112(powerdev) Then verify that all the files in /dev/snd belong to the audio group. crw-rw----+ 1 root audio 116, 5 Mar 18 16:59 controlC0 crw-rw----+ 1 root audio 116, 4 Mar 18 16:59 hwC0D0 crw-rw----+ 1 root audio 116, 3 Mar 18 16:59 pcmC0D0c crw-rw----+ 1 root audio 116, 2 Mar 19 10:17 pcmC0D0p crw-rw----+ 1 root audio 116, 1 Mar 18 16:59 seq crw-rw----+ 1 root audio 116, 33 Mar 18 16:59 timer If all seems to look right, you could do this: > > - Allow all users read and write access to all sound devices, for > example with chmod -R a+rwX /dev/snd/.. This might be slightly insecure > > > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
