bug-cfengine
[Top][All Lists]
Advanced

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

owner and group in files and copy


From: Christian Pearce
Subject: owner and group in files and copy
Date: Wed, 06 Oct 2004 13:17:59 -0400

Why does the owner or group get carried over to the next copy statement
executed?  I briefly looked at the code, it looks like it saves the uid
and gid.  So it was intentionally as far as I can tell.

I can't for the life of my figure out why we would want this.  I am
going to be forced to explicitly set ownership for every copy statement
I have.  Geehz!  Can someone explain why this is here?

There was the thought of having a template for copy statements

template:

        root_executable
                owner=root
                group=root
                mode=0755
                server=$(server)

copy:

        /var/tmp/somefile/
                dest=/var/tmp/somefile
                template=root_executable

This seems like a good idea.

-- 
Christian Pearce
http://www.commnav.com
http://www.perfectorder.com






reply via email to

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