I use this script to find broken files where the encrypted file is
empty:

#!/bin/bash

# Matches decrypted files in the home directory to empty files in the           
                                                   
# underlying encrypted directory by inode numbe                                 
                                                   

echo "saving inodes of empty files to /tmp/empty-encrypted-file-inodes"
find $HOME/ -xdev $(
    for inode in $(find $HOME/.Private/ -xdev -size 0c -exec ls -ai '{}' \;|awk 
'{print $1}'|tee /tmp/empty-encrypted-file-inodes); do
        echo " -inum $inode"
    done)

This might break if it constructs a command line longer than what your
system allows.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/509180

Title:
  ecryptfs sometimes seems to add trailing garbage to encrypted files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ecryptfs/+bug/509180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to