> First of all I'm sorry by mi bad English.
> 
> I think that there is a bug in file_copy() function in ui_fileops.c.
> 
> First the file is copied, and then call to copy_file_attributes()
> 
> If copy_file_attributes returns False (For example if a normal user try to
> copy a file from cdrom or storage media mounted by user root, then the user
> can not chown destination file to root). Copy_file then returns false and an
> error message is shown. 
> 
> 
> I changed the line 574 from:
> 
>      ret = copy_file_attributes(s, t, TRUE, TRUE);
> 
> to:
> 
>      ret = TRUE ; copy_file_attributes(s, t, TRUE, TRUE);
> 
> and that worked fine for me.


Same annoying bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=2994624&group_id=222125&atid=1054680

http://sourceforge.net/tracker/index.php?func=detail&aid=2999830&group_id=222125&atid=1054680

http://sourceforge.net/tracker/index.php?func=detail&aid=3058310&group_id=222125&atid=1054680

http://sourceforge.net/tracker/index.php?func=detail&aid=2960251&group_id=222125&atid=1054680

I think that is easy to patch ¿Some developper here?

                       Saludos de Redy 
 Usuario de Linux número 210.399 en http://counter.li.org.
   [ Parolas BBS 100% Linux native parolas.thebbs.org ] 

 In a world without frontiers, who needs Gates and Windows?

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to