Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17779

How do I list all the ACLs of a directory tree?

$
0
0

Hello, I have a Debian Fileserver with ACLs. With getfacl -R I get all the files, but I only need the directories.

I tried to only list the directories and then input that to getfacl:

ls -R | grep ":$" | cut -d: -f 1 > file.txt

and then getfacl cat file.txt. But a lot of directories have spaces, and we can't change them.

Thanks for your help.

submitted by xenoplata
[link][4 comments]

Viewing all articles
Browse latest Browse all 17779

Trending Articles