Hi all,

to my opinion, the check of a read only directory is not helpful when trying to process an image with an external tool. E.g. the processing of data with GIMP is possible also when the file is on a read only medium. This check should be done by the external tool and not by geeqie.

Please see the attached patch which removes this checks. This works very nice at my PC!


Regards

Mathias

--- src/filedata.c.orig	2012-05-17 08:53:30.225704106 +0200
+++ src/filedata.c	2012-05-17 08:53:02.025703222 +0200
@@ -2118,11 +2118,13 @@
 			ret |= CHANGE_NO_DEST_DIR;
 			DEBUG_1("Change checked: destination dir does not exist: %s -> %s", fd->path, fd->change->dest);
 			}
+#if 0
 		else if (!access_file(dest_dir, W_OK))
 			{
 			ret |= CHANGE_NO_WRITE_PERM_DEST_DIR;
 			DEBUG_1("Change checked: destination dir is readonly: %s -> %s", fd->path, fd->change->dest);
 			}
+#endif
 		else if (!same)
 			{
 			if (isfile(fd->change->dest))

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to