I do a backup of my website every week, I just download all the files from the website
to my computer with database from MySQL etc... and then burn them into a CD .
the thing is that I would like to create something that can tell me, or print into a file
all the permissions of the dirs lets says that If I type 'ls -alR > info.txt' I see public files
and some are just system files etc.. instead of (-rw-rw-r-- 1 apache apache 55380 Jul 6 15:37 rans.log)
I would like something like (755 /home/dir/html/rans.log) I want to keep a record of that just in case one day
I change hosting company, I know which dirs,files and what permissions they have.