[CentOS] can non-owner change file group setup?

John R Pierce pierce at hogranch.com
Wed May 13 14:56:17 UTC 2009


mcclnx mcc wrote:
> we plan to count how many files belong to that group.  For example HR or Finance.
>   

not sure why you need to change the file's group to do this.

for g in hr finance; do
echo $(find . -type f -group $g |wc -l) files in group $g
done





More information about the CentOS mailing list