help-cfengine
[Top][All Lists]
Advanced

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

one set of perms for files, another for directories


From: Kurt Lieber
Subject: one set of perms for files, another for directories
Date: Thu, 23 Oct 2003 13:51:21 -0400
User-agent: Mutt/1.5.4i

Right now, I have the following directive controlling permissions on users'
public_html directories:

home/public_html   mode=go-w recurse=inf action=warnall

Which works great.  However, what would be even more helpful is if I could
define one set of permissions for directories (o+x) and another set for
files (go-wx).  I could probably make it work by running the above command
first, and then running a separate command in the directories: section that
puts back o+x permissions.  That seems sub-optimal, however.  Is there a
cleaner way to do it?

--kurt

Attachment: pgpkLrQZOInEl.pgp
Description: PGP signature


reply via email to

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