[PlanetCCRMA] root vs capabilities

R Parker rtp405@yahoo.com
Tue Jun 1 09:09:02 2004


Linux stepdaddy 2.4.26-1.ll.rh90.ccrma #1 Fri Apr 16
21:56:56 PDT 2004 i686 athlon i386 GNU/Linux

[root@stepdaddy master03]# cat

I've been experiencing a greater number of xruns while
running jack, ardour and jamin as a normal user than I
see while working as root.

An observation, from the jack FAQ:
 Go to /usr/src/linux/include/linux (or wherever you
have your kernel sources) and in the file capability.h
change the line

        #define CAP_INIT_EFF_SET   


        #define CAP_INIT_EFF_SET    to_cap_t( ~0 )

and the line

        #define CAP_INIT_INH_SET    to_cap_t(0)


        #define CAP_INIT_INH_SET    to_cap_t( ~0 )

>From 2.4.26-1.ll.rh90.ccrma:
#define CAP_INIT_EFF_SET    to_cap_t(~0)
#define CAP_INIT_INH_SET    to_cap_t(~0)

I imagine it's highly unlikely that the differnce in
syntax makes any difference but being ignorant of the
rules I suppose it's best to ask.

I am puzzled. How could there be a differnce between
the two users?

If I understand capabilities, then in the context of
my experience it's irrelevant what desktop I use (KDE)
and what processes may be running as a result. Bottom
line, everytime I attempt to work as a normal user I
give up and run everything as su because xruns and
disconnections from jack make it impossible to work.

Anyone else observed this or have any thoughts?


Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.