Nathan Coulson wrote: > On Mon, Dec 26, 2011 at 7:29 PM, Bruce Dubbs <bruce.du...@gmail.com> wrote: >> Nathan Coulson wrote: >> >>> /sbin/setcap cap_setfcap=i /sbin/setcap >>> Failed to set capabilities on file `/sbin/setcap' (Operation not supported) >>> usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) >>> <filenameN> ] >> Hmm, I didn't have any problems. Â I think you need EXT3_FS_XATTR set in >> the kernel config, but I really don't use setcap other than as a >> dependency for other programs: >> >> libgcrypt >> pinentry >> samba3 >> heimdal >> zsh >> vsftpd
> CONFIG_EXT4_FS_XATTR=y, but I do not use the user_xattr option when > mounting my filesystem (and the only reason I even enabled that was I > thought it may be nice to preserve windows permissions when using a > samba share [that did not seem to work btw]). > > only installed it to install cdrkit. Curious. I am using ext3, but the fs only has the default options. I was curious, so I looked at the source. The setcap command is making a SYSCALL to the kernel via libattr. The kernel is returning the error. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page