All of lore.kernel.org
 help / color / mirror / Atom feed
From: richard <richard.bown@blueyonder.co.uk>
To: Hamish Moffatt <hamish@cloud.net.au>
Cc: linux-hams@vger.kernel.org
Subject: Re: permissions
Date: Tue, 31 Oct 2006 10:50:44 +0000	[thread overview]
Message-ID: <45472A84.6000709@blueyonder.co.uk> (raw)
In-Reply-To: <20061031012432.GA6698@cloud.net.au>

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



       reply	other threads:[~2006-10-31 10:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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       ` richard [this message]
2015-06-29 14:49 permissions dark.star777-NKkJACngtoFBDgjK7y7TUQ
  -- strict thread matches above, loose matches on Subject: below --
2010-06-05  9:33 permissions William Pursell
2010-06-05  9:50 ` permissions Andreas Schwab
2010-06-05 18:23   ` permissions William Pursell
2010-06-06  6:45     ` permissions Alex Riesen
2010-06-06  9:36       ` permissions William Pursell
2010-06-06 12:45         ` permissions Alex Riesen
2010-06-06 19:54         ` permissions Junio C Hamano
2010-06-08 10:25           ` permissions William Pursell
2010-06-08 14:52             ` permissions Alex Riesen
2010-06-08 21:05               ` permissions Junio C Hamano
2010-06-08 22:27                 ` permissions William Pursell
2010-06-09  7:20                   ` permissions Alex Riesen
2010-06-09 10:29                     ` permissions William Pursell
2010-06-09 12:06                       ` permissions Thomas Rast
2010-06-09 13:00                         ` permissions Alex Riesen
2010-06-09 12:56                       ` permissions Alex Riesen
2010-06-09 10:39                     ` permissions Steven Michalske
2002-07-08  8:04 permissions Nicolas Brainez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45472A84.6000709@blueyonder.co.uk \
    --to=richard.bown@blueyonder.co.uk \
    --cc=hamish@cloud.net.au \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.