help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating (touching) files in a directory tree


From: Brian Landers
Subject: Creating (touching) files in a directory tree
Date: 29 Dec 2003 10:43:02 -0800

On my FTP server, I want to create an empty file in each of my virtual
home directories.  I have a directory structure like so:

/home/ftp/user1

/home/ftp/user2

/home/ftp/user3

etc.

I want to use the 'files' section of cfengine to create and touch:

/home/ftp/user1/.empty

/home/ftp/user2/.empty

etc.

My first shot at this was like so:

files:

    /home/ftp r=2 action=touch include=*/.empty

But nothing is getting created!  I'm sure I'm missing something
simple, but I've smashed my head against the wall until it's squishy.

Thanks in advance!
Brian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]