Re: chmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-02-09 at 08:32 +0000, James Wilkinson wrote:
> gary wrote:
> > In a attempt to get audacity running again (now I get i/o errors
> > in user mode) I decided change permissions on /dev/dsp from 600 
> > to 660 to see what effect that would have on my audacity problem.
> > Each time I leave root, /dev/dsp reverts back to 600.
> > 
> > Why can't I change permissions on /dev/dsp?
> 
> How are you becoming root? Are you logging in, or using su - from a
> terminal?
> 
> I suspect you're logging in. This is generally considered a Bad Idea,
> because mistakes made while root are potentially more serious (they can
> do more damage), so it makes sense to limit the time spent as root.
> 
> It would also mean that when you log back in again, udev carefully
> recreates /dev/dsp with the appropriate permissions -- 600.
> 
> But in any case, I think you're barking up the wrong tree. Either udev
> is seriously screwed, or /dev/dsp should be read-write for you anyway.
> $ ls -l /dev/dsp
> crw-------  1 james root 14, 3 Feb  9 07:42 /dev/dsp
> dsp should be owned by whoever's logged in at the console. Anything done
> by that owner should have full access to /dev/dsp.
> 
> Hope this helps,
> 
> James.
 I get exactly the same result as you when I "ls -l /dev/dsp " so it makes sense
that permissions are changed by udev when a different user is logged in.
Sometimes I logged in as root and other times su at the terminal but I
always verified the permission changes  ( or the lack thereof ) as root.

On the other hand I'm not certain I have full access to /dev/dsp as
user. As root
I'm able to use audacity. As user I get an i/o audio error telling me
I'M unable to access
/dev/dsp. This fall I used this fc4 machine with audacity -no problem .
Perhaps this is a
udev issue - yet to be sorted out.    
                                     Thanks    --gary








[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux