Hi,<div><br></div><div>I assume you are using the 3.1 development version.</div><div>This is a new security feature to prevent users from registering any file readable by oneadmin.</div><br>/var/lib/one is by default a restricted directory, you can configure the behaviour in /var/lib/one/remotes/image/fs/fsrc, check the Image Repository documentation for more info [1].<div>
<br></div><div>You can also check the new features and main changes in the compatibility guide [2]<br><div><br></div><div>Regards.</div><div><br></div><div>[1] <a href="http://www.opennebula.org/documentation:rel3.2:image_repo#configuration">http://www.opennebula.org/documentation:rel3.2:image_repo#configuration</a></div>
<div>[2] <a href="http://www.opennebula.org/documentation:rel3.2:compatibility">http://www.opennebula.org/documentation:rel3.2:compatibility</a></div><div><br clear="all"><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">--<br>
Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span><br>
<br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 3:18 PM, Wojciech Giel <span dir="ltr"><<a href="mailto:wojciech.giel@cimr.cam.ac.uk">wojciech.giel@cimr.cam.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Hi,<br>
I'm trying to create disk image template using both sunstone and
command line but result is the same:<br>
<br>
oneimage list -v<br>
ID USER GROUP NAME SIZE TYPE REGTIME
PUB PER STAT RVMS<br>
4 oneadmin oneadmin linux 0M OS 12/12 14:07:32
No No err 0<br>
<br>
sunstone<br>
<table>
<tbody>
<tr>
<td style="padding-left:0px;font-weight:bold;border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px">ERROR</td>
<td style="border-bottom:1px solid rgb(204,204,204);padding-top:6px;padding-bottom:6px"> <br>
</td>
</tr>
<tr>
<td style="border-bottom:0pt none"><br>
</td>
<td style="border-bottom:0pt none"><br>
</td>
</tr>
<tr>
<td style="padding-left:25px;font-weight:normal;border-bottom:0pt none;padding-top:1px;padding-bottom:1px">TIMESTAMP</td>
<td style="border-bottom:0pt none;padding-top:1px;padding-bottom:1px">Mon Dec 12 14:07:32
2011</td>
</tr>
<tr>
<td style="padding-left:25px;font-weight:normal;border-bottom:0pt none;padding-top:1px;padding-bottom:1px">MESSAGE</td>
<td style="border-bottom:0pt none;padding-top:1px;padding-bottom:1px">Error copying image
in the repository: Not allowed to copy image file
/var/lib/one/templates/linux_generic.img</td>
</tr>
</tbody>
</table>
<br>
oneadmin is the owner of /var/lib/one/templates/ directory.<br>
what might be a problem ?<br>
thanks<span class="HOEnZb"><font color="#888888"><br>
Wojciech<br>
<pre cols="72"></pre>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div></div>