I have a bunch of files that are messing up my backup system (via rsync). The permissions are all question marks. How does this happen? How do I find them / scan for them? This partially breaks my backup system and I need to clean them up before the backup system runs.
d????????? ? ? ? ? ? sub
d????????? ? ? ? ? ? sample4
d????????? ? ? ? ? ? sample3
d????????? ? ? ? ? ? sample2
d????????? ? ? ? ? ? sample1
-????????? ? ? ? ? ? queue.sh
-????????? ? ? ? ? ? notes
Best Answer
This happens if the user you are using to access a directory does not have execute permission on the directory iteself. To list the contents of a directory read permission is enough. But to cd into the directory or show the permissions of files etc. inside the execute permission is needed:
So you or your user which runs the backup probably does not have execute permission on some files etc.