On Fri, 2005-11-25 at 11:55 -0800, Atom Powers wrote: > I want to be able to set the owner/group of a directory based on the > name of the directory. An example of this would be making user1 the > owner of /home/user1 and user2 the owner of /home/user2. > > It isn't practical to list every directory as a seperate "files" > block. How can I set ownership by directory name using cfe?
See docs http://www.cfengine.org/docs/cfengine-Reference.html#directories control: homedirs = ( mark:simen:luke:aeleen ) directories: /home/$(listcontent) owner=LastNode _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
