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.
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?
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geeqie-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-devel