• Theodore Ts'o's avatar
    ext4: don't allow encrypted operations without keys · 173b8439
    Theodore Ts'o authored
    While we allow deletes without the key, the following should not be
    permitted:
    
    # cd /vdc/encrypted-dir-without-key
    # ls -l
    total 4
    -rw-r--r-- 1 root root   0 Dec 27 22:35 6,LKNRJsp209FbXoSvJWzB
    -rw-r--r-- 1 root root 286 Dec 27 22:35 uRJ5vJh9gE7vcomYMqTAyD
    # mv uRJ5vJh9gE7vcomYMqTAyD  6,LKNRJsp209FbXoSvJWzB
    Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
    173b8439
namei.c 102 KB