[PLUG] /usr/bin/alsamixer: file not found (for user)

King Beowulf kingbeowulf at gmail.com
Tue Mar 19 17:25:12 UTC 2013


On 03/19/2013 07:52 AM, Rich Shepard wrote:
> On Tue, 19 Mar 2013, Rich Shepard wrote:
> 
>> 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.
> 
> Update: running 'file /usr/bin/alsamixer' shows it's a 64-bit ELF
> using shared libraries. Running 'ldd /usr/bin/alsamixer' shows me
> that all libraries are found.
> 
> What other tests can I run to find why this tool works for root but
> not for a user? Do I need to make permissions for /usr 777?
> 
> Rich
> 
> _______________________________________________ PLUG mailing list 
> PLUG at lists.pdxlinux.org 
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 
Rich

Permissions should stay at 755. This could be caused by any number of
glitches: udev rules, audio group, no access to /var/lib/alsa...

Rather that wrestle with it, go to your Slackware DVD, mount and do
(as root, and if in a user login shell then use "su -"):

upgradepkg --reinstall slackware64/ap/alsa-utils-1.0.26-x86_64-1.txz

or

upgradepkg --reinstall slackware/ap/alsa-utils-1.0.26-i486-1.txz

depending on if you are 64 bit or 32.

-Ed



More information about the PLUG mailing list