help-cfengine
[Top][All Lists]
Advanced

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

umask doesn't work with shellcommands


From: Avi Green
Subject: umask doesn't work with shellcommands
Date: Wed, 28 Mar 2001 16:48:48 -0500

Dear fellow cfengineers,

A few days ago, I noticed that cfengine (1.5.4) seems to be running my
shellcommands with a umask of zero.  I tried adding the umask attribute
as indicated by the cfengine reference:

        stage1.linux::

                "/bin/sh -c 'echo umask: `umask`; > foo; mkdir Foo; ls
-ld foo Foo; rm -r foo Foo'"
                        umask=0022

But when I run it I get "Illegal shellcommand attribute".

Am I doing something obviously wrong?

Thanks a lot,
Avi

======================================================
= Avi Green :-) avi at sputnik7.com (-: 212 217-1147 =
========  Unix SysAdmin & System Specialist  =========
=============  http://www.sputnik7.com  ==============
===== Netcasting Music, Videos, Film & Anime 24/7 ====



reply via email to

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