listing all the permissions recursively
How do I list all the directories/files' owner/group ownership permissions recursively?
Ex) /var/www/html/... I'd like to list all the directories/files and their owner/group and permissions info. If I do ls -l, it shows me the same level directories/files but not the sub-directories and files. Thx! |
Code:
$ ls -lR Code:
$ man ls |
Cool, thanks
|
If you only want to see that info (file name and permissions) and nothing else, you can do
Code:
find /var/www/ -exec stat --format='%A %n' '{}' \; Code:
man stat |
Thanks, cool command.
|
All times are GMT -5. The time now is 09:38 PM. |