Error when running binary with root setuid under encrypted home directory
Posted
by
carestad
on Ask Ubuntu
See other posts from Ask Ubuntu
or by carestad
Published on 2012-10-31T12:16:44Z
Indexed on
2013/10/31
22:18 UTC
Read the original article
Hit count: 493
I'm using a VPN script for Juniper's Secure Access protocol form here, which executes a binary located under ~/.juniper_networks/network_connect/ncsvc
with the following permissions:
-rws--s--x 1 root root 1225424 okt. 25 13:54 ncsvc
But when I do, I get the following error:
ncsvc> Failed to setuid to root. Error 1: Operation not permitted
Moving/copying the ~/.juniper_networks
folder to e.g. /opt/juniper
(with the same owner permissions), I don't get the error. In the forum thread at Ubuntuforums someone pointed out that it's probably because I have encrypted my /home
and thus a "problem" with ecryptfs.
How can I fix this?
© Ask Ubuntu or respective owner