David Lutterkort <[EMAIL PROTECTED]> writes:
>> That's correct for ssh. For more complex configuration (like apache),
>> creating a directory on the fly may be required.
>
> How exactly did you run into this ? 

Actually, I ran into this while testing the integration of the
graphical sshd_config editor (based on Config::Model) and Augeas (with
the sshd lens)

My test case did not provide the directory structure and I expected
Augeas to create the missing directories.  I considered that it would
be a good thing for /etc directories.

Obviously I did not think this through. Your arguments convinced me to
be more cautious when creating directories. Thanks for the inputs.
 
> On a fully installed system, it hardly ever happens that a new file
> has to be created, let alone directories. Even for Apache configs,
> the Apache package lays down the directories for config files.

You're right. Augeas behavior makes sense and may not be a problem for
real config. I'll now have to think what this means for
Config::Model...

All the best

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to