[PlanetCCRMA] midi permissions

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Sun Feb 6 11:48:00 2005

On Sat, 2005-02-05 at 06:29, Crispin wrote:
> Hi
> I'm completely baffled as to what's going on here.  According to ls -l I
> have permission to use the device midi01 (I can use it as root btw).  But
> when I try with cat... I can't.
> [crispin@renato crispin]$ ls -l /dev/midi01
> crwx------    1 crispin  root      14,  18 Feb  5 14:16 /dev/midi01
> [crispin@renato crispin]$ cat >/dev/midi01
> bash: /dev/midi01: Permission denied
> What is going on?  How can I give a program midi access without running it
> as root?

You should have permission. Probably "cat" is not the best way to test
things, try with a real program that sends legal midi bytes. BTW,
"/dev/midi*" are the devices for oss emulation. What program is not

-- Fernando