I have a weird issue with a lot of files which I can write but not read. And I am not able to change the permissions.
Example:
34# file wencke-18te.xcf
wencke-18te.xcf: writable, regular file, no read permission
35# ll wencke-18te.xcf
.rw-r--r-- matthias matthias 41 MB Thu Aug 3 16:00:46 2017 wencke-18te.xcf
36# getfacl wencke-18te.xcf
# file: wencke-18te.xcf
# owner: matthias
# group: matthias
user::rw-
group::r--
other::r--
37# chmod 644 wencke-18te.xcf
chmod: changing permissions of 'wencke-18te.xcf': Input/output error
And chmod does not even work as root. I tried chmod and chown as root but that gives the same error.
The file is on an ecryptfs home directory. I can login just fine and many files are ok with read/write. But some are not. Any idea how I can fix that?