SUMMARY: locating files with ACLs set?

From: Geoff Lane (zzassgl@twirl.mcc.ac.uk)
Date: Fri Mar 03 2000 - 09:09:08 CST


I should have explained ACL = Access Control List, which is an "enhanced"
technique for controlling user and group access to files (essentially you
can prepare a list of all users/groups who may have access to a file --
users need not all be in the same group.) You can see details of the
available commands using man setfacl and man getfacl.

Thanks to Seth Rothenberg, Scott Rae, and Chuck Smoko for replies.

Summary

Nobody knew of any Solaris utility, apart from ls -l, that could find and
identify files or directories that had ACLs set on them.

If anyone from Sun is lurking, enhancing find to do this job would be VERY
useful. I may have a go at adding ACL detection to GNU find myself.

In the end I wrote a 5 line C program that called acl(2) to get ACL info for
a single file provided as an argument; using find I tested each file with my
program.

-- 
Geoff. Lane.   | "I'm not one of those who think Bill Gates is the devil. I
               | simply suspect that if Microsoft ever met up with the devil,
               | it wouldn't need an interpreter" -- Nicholas Petreley.

We laughed, we sang, we danced far into the night.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:04 CDT