<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Dear all,<br><br>first of all a happy new year to everyone.<br><br>I am trying to use the augeas C API to apply changes to the "/etc/network/interfaces" file.<br>So far I was able to apply changes to the tree. However, I am not able to save the changes back to the file.<br>First, I thought it is a problem with the permissions. However, I copied the interfaces file to a different folder and it still does not work.<br>Using the command line tool augtool, I am able to make the changes and save them to the file.<br><br>I uploaded an (almost) minimal version of my program to:<br><a href="https://github.com/cmolitor/AugeasDemoC">https://github.com/cmolitor/AugeasDemoC</a><br><br>The repository includes an example „interfaces“.<br>I am working on a Raspberry Pi with Raspbian Jessie.<br>It would be great if someone could give me a hint what I am doing work and where the problem might come from.<br><br>Thanks for your support!<br><br>Christoph</body></html>