This is somewhat related to my, now resolved, question here here. When I ran chmod 666
on group of files they stopped showing up in the GUI (thunar) but I could see them when I ran ls
. When I found out that this was because of execution privileges I ran chmod 775
instead and now I can see them again. I could only see the top level directories and files and the files were 0 bytes in size. Why did this happen?
Asked
Active
Viewed 28 times
1

ayNONE
- 41
ls
orsudo ls
? If you remove the execute permission from a directory, you can't access it anymore, and it looks like you ran it recursively on a directory. – muru Mar 11 '20 at 15:06nautilus
or similar). The behaviour of showing the files as "0 bytes" is definitely not reasonable ... – AdminBee Mar 11 '20 at 15:10ls
only needs read rights (it just reads the directory inode), while thunar orls
with options to list file parameters (size, flags...) need to access each file inode, which requires traversal of the directory, which requires "execute" rights on the directory. – xenoid Mar 11 '20 at 15:42