* Re: permissions
[not found] ` <20061031012432.GA6698@cloud.net.au>
@ 2006-10-31 10:50 ` richard
0 siblings, 0 replies; only message in thread
From: richard @ 2006-10-31 10:50 UTC (permalink / raw)
To: Hamish Moffatt; +Cc: linux-hams
Hamish Moffatt wrote:
> On Mon, Oct 30, 2006 at 11:56:00PM +0000, richard wrote:
>
>>> Still, the error "Device or resource busy" means that something is using
>>> the device, not that you don't have permission to access it (which would
>>> just be "Permission denied.") As root you might try using lsof to find
>>> out which program is using it
>>>
>>> eg "lsof /dev/dsp
>>>
>>>
>> I let gmfsk fail and produce the error message then ran the following:-
>> [root@gb7tf Desktop]# lsof /dev/dsp
>> [root@gb7tf Desktop]# lsof|grep /dev/dsp
>>
>
> Maybe something is using the underlying ALSA device which is blocking
> /dev/dsp. lsof | grep /dev/snd ?
>
>
> Hamish
>
Its only the mixer app Hamish
mixer_app 6382 richard-g8jvm 17u CHR 116,0
7895 /dev/snd/controlC0
I've also tried recompiling gmfsk as me and not as root
-rwxr-xr-x 1 root root 1283122 Oct 31 09:06 gmfsk*
-rwxr-xr-x 1 root root 1453277 Oct 23 12:17 gpredict*
-rwxr-xr-x 1 root root 822682 Oct 20 14:46 xlog*
Added the line that Al suggested in rc.local
chmod 666 /dev/dsp /dev/audio /dev/mixer /dev/cdrom
no immediate effect, but worked after rebooting, so it looks like the
permissions
are only read at startup on the above files, which is a bit strange as
normally you can change file permissions
on the hoof and take immediate effect.
Must be some Mandriva security measure that been added in MDV2007.
Thanks for all the help
73 Richard
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-31 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <454655BC.30606@blueyonder.co.uk>
[not found] ` <20061030213355.GA25496@cloud.net.au>
[not found] ` <45469110.4070108@blueyonder.co.uk>
[not found] ` <20061031012432.GA6698@cloud.net.au>
2006-10-31 10:50 ` permissions richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).