bug-cfengine
[Top][All Lists]
Advanced

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

Re: Owner/permission for ~.cfengine for non-root users


From: Mark . Burgess
Subject: Re: Owner/permission for ~.cfengine for non-root users
Date: Wed, 3 Apr 2002 16:11:08 +0200 (MET DST)

It seems that the mode has fallen off open() in tidy.c That the file is
owned by root/run owner is intentional. It signals who is reponsible
for tidying.

Thanks

Mark

On  3 Apr, Martin Jost wrote:
> Hello,
> 
> with cfengine 2.0.0 ~/.cfengine for non-root users is created with
> owner/group root/root.
> (The contents of this dir has the group and owner of the user who run
> cfagent.)
> Even if this is changed to something else, it is changed back on the
> next run of cfagent.
> Is this a feature ?! A bug ?!
> 
> When I first saw this, the permissions on the dir had been 777.
> I changed this, but later I found it was changed back to 777.
> I have been playing with this, but couldn't find a rule. Whereas the
> owner/group is changed to root/root every time cfagent is run. The
> permissions sometimes change.
> (I've seen this once with "umask" set to 0)
> 
> All these tests were done as a non-root user. (With changing
> owner/group/permissions on .cfengine obviously done as root)
> 
> Martin
> 
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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