<div dir="ltr">lo solucione cambiando los permisos desde la consola de ubuntu, ahora el problema que tengo es que no puedo subir archivos mayores a 2mb, he modificado el php.ini pero sigo sin poder subir esos archivos, alguien sabe que puede pasar?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/28 leandro saubiette <span dir="ltr"><<a href="mailto:saubietteleandro@gmail.com" target="_blank">saubietteleandro@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Buenas, tengo problema cuando quiero subir un archivo y moverlo a la carpeta deseada: este es el error que tira<div><br></div><div><br></div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'">Warning: chmod(): Operation not permitted in /var/www/Tesis/subir.php on line 22 Call Stack: 0.0005 332632 1. {main}() /var/www/Tesis/subir.php:0 0.0007 333052 2. chmod() /var/www/Tesis/subir.php:22 </span></div>

<div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'"><br></span></div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'">Warning: move_uploaded_file(/home/leandro/www/Tesis/images/Curriculum.doc): failed to open stream: Permission denied in /var/www/Tesis/subir.php on line 28 Call Stack: 0.0005 332632 1. {main}() /var/www/Tesis/subir.php:0 0.0010 333040 2. move_uploaded_file() /var/www/Tesis/subir.php:28 </span></div>

<div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'"><br></span></div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'">Warning: move_uploaded_file(): Unable to move '/tmp/phpDZ8Nmh' to '/home/leandro/www/Tesis/images/Curriculum.doc' in /var/www/Tesis/subir.php on line 28 Call Stack: 0.0005 332632 1. {main}() /var/www/Tesis/subir.php:0 0.0010 333040 2. move_uploaded_file() /var/www/Tesis/subir.php:28</span><br>

</div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'"><br></span></div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'"><br>

</span></div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'">el codigo del php es este:</span></div><div><span style="font-size:medium;background-color:rgb(206,225,232);font-family:'Times New Roman'"><br>

</span></div><div><span style="background-color:rgb(206,225,232)"><font color="#000000" face="Times New Roman" size="3"><div><span style="white-space:pre-wrap">            </span><form enctype="multipart/form-data" action="" method="post"></div>

<div><span style="white-space:pre-wrap">                  </span><input type="file" name="archivo"><br><br></div><div><span style="white-space:pre-wrap">                 </span><input type="submit" name="subir" value="Subir"></div>

<div><span style="white-space:pre-wrap">          </span></form></div><div><span style="white-space:pre-wrap">    </span></div></div><div></div></div><div><?php </div><div><br></div><div><span style="white-space:pre-wrap"> </span>if(isset($_POST["subir"]))</div>

<div><span style="white-space:pre-wrap">  </span>{</div><div><span style="white-space:pre-wrap">                </span>chmod("/home/leandro/www/Tesis",0777);</div><div><span style="white-space:pre-wrap">         </span>if(is_uploaded_file($_FILES["archivo"]["tmp_name"]))</div>

<div><span style="white-space:pre-wrap">          </span>{<span style="white-space:pre-wrap">               </span></div><div><span style="white-space:pre-wrap">                 </span>move_uploaded_file($_FILES["archivo"]["tmp_name"], "/home/leandro/www/Tesis/images/".$_FILES["archivo"]["name"]);</div>

<div><span style="white-space:pre-wrap">          </span>}</div><div><span style="white-space:pre-wrap">        </span>}</div><div>?></div><div><br></div><div>Si alguien me pudiera ayudar se lo agradeceria</div></font></span></div>
</div>
</blockquote></div><br></div>