[Lcdproc] Problems with CF634 usb
Joris Robijn
joris@robijn.net
Sun May 27 20:13:01 2007
On 27 May 2007 at 11:57, Stewart W. Putnam wrote:
> On etch 2.6.17 gcc 4.1 I got: Open as root -> drop_privs ->
> "user=nobody: write permision denied." My solution was to drop_privs
> before opening a file and make each thread (listen for packets, send
> packets, manage fans ) drop_privs similarly to maintain identical
> privalages.
It's not a difference between the distros in the permissions of the
device/file that you are trying to write to ?
> is a complex set of options that at the moment appears to me to have
> changed from sarge 2.6.8 gcc 3.3 to etch 2.6.17 gcc 4.1, likely as
In that case it should be a kernel difference, because these things are
kernel work. Process stuff IS, thread stuff is NOT kernel work, as far as
I know.
> This is complex and I'm thinking vaugely about how the one specific
> change I noticed might be analagous to what Brian is finding.
Hmm I'm specifically thinking in the area of sending/receiving signals.
> I'd like to see a full / unedited ReportLevel=5 syslog up to and a
> little past the hang from Brian. Actually two such log reports, one
> done with LCDd.conf [server] "User=nobody" and one with "#User=nobody".
> It would give a detailed look at what wave_to_parent is dooing and show
> wheather the drop_privs part makes any difference.
Note that that requires compiling with the debug option on.
Joris
--
Joris Robijn <joris@robijn.net>
Mobile: +31 6 288 41 964