Comment 2 for bug 298421

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 298421] Re: Cannot delete a single user ~/Private folder

You don't have to do this as root, you can do this as the
non-privileged user with:

$ ecryptfs-umount-private
$ chmod 700 Private
$ rm -rf ~/.ecryptfs ~/.Private ~/Private

Understanding, of course, that you're blowing away any and all data in
those directories.

I don't think that I'm going to provide a utility to do this.

However, I could perhaps create a utility, ecryptfs-delete-private, as
you suggest, that prints these 3 steps to the screen, with appropriate
safeguard warnings. Would this suffice?

:-Dusitn