"mount: Operation not permitted" on every login or after ecryptfs-mount-private
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I get the message "mount: Operation not permitted" whenever I try to login with a newly created user or to run ecryptfs-
My distribution is Lubuntu 12.04 pendrive with persistent storage.
I tried the following, to no avail:
# ecryptfs-
# chmod +s /sbin/mount.
The permissions to to the user .Private directory are following:
septi@lubuntu:~$ ls /home/.
total 16
drwxr-xr-x 4 septi septi 4096 Jul 5 08:34 .
drwxr-xr-x 3 root root 4096 Jul 5 08:34 ..
drwx------ 2 septi septi 4096 Jul 5 08:35 .ecryptfs
drwx------ 2 septi septi 4096 Jul 5 08:35 .Private
Also, I can successfully use ecryptfs-
You should not be setting the setuid bit on random binaries.
Can you explain how you created the user and set up the encrypted home directory? Are there any relevant messages in /var/log/syslog after you see the mount error?