Click to See Complete Forum and Search --> : Newbie kernel config question


Peter Smithson
03-10-2001, 06:42 AM
Sorry if this is in a NHF - I found how to re-compile the kernel there but I'm not sure if I have to.

I just want to change CHOWN_CAP to 1 in /usr/include/linux/capabilities.h.

Do I have to install the kernel source and re-compile to make this take effect?

I can probably find out how to do this but I want to know if I'm on the right track before I start!

Cheers

Peter (Linux newbie)

bdg1983
03-11-2001, 08:48 PM
Since you haven't received a response for your question, I would say you will need to install the kernel source and recompile for the change to take effect.

Perhaps someone with more experience compiling kernels could give their opinion.

Peter Smithson
03-12-2001, 12:21 PM
Tried that today but it didn't fix the problem.

I just want to do

touch filename
chown <anotheruser> filename

when not logged in as root.

I'll try changing something called _POSIX_CHOWN_RESTRICTED which looks promising!

Cheers

Peter