<div class="gmail_quote">On Mon, Sep 14, 2009 at 10:54 PM, Seth Vidal <span dir="ltr">&lt;<a href="mailto:skvidal@fedoraproject.org">skvidal@fedoraproject.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=503195#c13" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=503195#c13</a><br>
<br>
as I said:<br>
 if, from the python bindings, I open a file with a name starting with &#39;/&#39; while in a transaction then as expected, the file is opened inside the installroot<br>
<br>
however, if I open a file with a name NOT starting with &#39;/&#39; then the file is opened OUTSIDE of the installroot.<br>
<br>
Does this make any sense? B/c I admit I don&#39;t quite grok why it would be this way.<br>
<br>
Thanks,<br>
</blockquote><div><br><br>I suggest to read the man page chroot(2) <br><br>
       chroot()  changes  the  root  directory  of the calling process to that<br>
       specified in path.  This directory will be used for pathnames beginning<br>
       with /.  The root directory is inherited by all children of the calling<br>
       process.<br>


<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-sv<br>
<br>
_______________________________________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org" target="_blank">Rpm-maint@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-maint</a><br>
</blockquote></div><br>