Cannot encrypt home directory

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lisapisa2
Level 3
Level 3
Posts: 124
Joined: Thu Jan 30, 2014 11:36 am

Cannot encrypt home directory

Post by lisapisa2 »

I login as user with admin rights and try the following command
sudo ecryptfs-migrate-home -u user

where user is of course the home directory I want to encrypt, I get the following errors

INFO: Checking disk space, this may take a few moments. Please be patient.
INFO: Checking for open files in /mnt/userdata/XXXX
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1002/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1003/gvfs
Output information may be incomplete.
INFO: The following files are in use:

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1002/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1003/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
gvfsd-mtp 22984 XXXX mem REG 8,17 600 11273550 /mnt/userdata/XXXX/.local/share/mime/mime.cache

ERROR: Cannot proceed.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mute Ant

Re: Cannot encrypt home directory

Post by Mute Ant »

From the complaints I suspect the user you are trying to migrate is logged in...
  • INFO: The following files are in use:
    gvfsd-mtp 22984 XXXX mem REG 8,17 600 11273550 /mnt/userdata/XXXX/.local/share/mime/mime.cache
Locked

Return to “Other topics”