Hi there, thanks for the reply.

Firstly, `mv --version` gives [mv (GNU coreutils) 8.5]

Results of my testing, quick version :

(1) Source and Safe Delete both within homedir = OK
(2) Source and Safe Delete both on samba share = OK
(3) Source on samba share, Safe Delete within home dir = NOT OK
(4) Manual file move samba share -> homedir = OK


The long version is below ...

Let me know anything more I can do.

Cheers :)
Callan






=================================================
SOURCE DIR AND SAFE DELETE DIR BOTH IN MY HOMEDIR
=================================================

Source and Safe Delete dirs, within my homedir :

cal...@brutis:~$ ls -lh ~
drwxr-xr-x 2 callan callan   4.0K 2010-11-23 22:48 geeqie_trash
drwxrwx--- 2 root   bogglers 4.0K 2010-11-23 22:48 test


Source file :

cal...@brutis:~$ ls -lh /home/callan/test/
-rwxrwx--- 1 root bogglers 6.7M 2010-11-12 21:28 image.jpg


I tested with the safe delete dir (/home/callan/geeqie_trash) owned by 
me. I then tested with the dir owned by root/bogglers, with perms 770.

In both cases, file delete is sucessful, and the image appears in the 
safe delete dir, with the same perms as the original :

cal...@brutis:~$ ls -lh /home/callan/geeqie_trash/
-rwxrwx--- 1 root bogglers 6.7M 2010-11-12 21:28 000000_image.jpg






=====================================================
SOURCE DIR AND SAFE DELETE DIR BOTH ON MY SAMBA SHARE
=====================================================

Source and Safe Delete dirs, on my samba share :

cal...@brutis:~$ ls -lh /media/shared/
drwxrwx--- 1 root bogglers    0 2010-11-23 23:06 geeqie_trash
drwxrwx--- 1 root bogglers    0 2010-11-23 23:07 test


Source file :

cal...@brutis:~$ ls -lh /media/shared/test/
-rwxrwx--- 1 root bogglers 6.7M 2010-11-23 23:07 image.jpg


File delete is successful, and the image appears in the safe delete dir, 
with the same perms as the original :

cal...@brutis:~$ ls -lh /media/shared/geeqie_trash/
-rwxrwx--- 1 root bogglers 6.7M 2010-11-23 23:07 000000_image.jpg






=====================================================
SOURCE DIR ON SAMBA SHARE, SAFE DELETE IN MY HOME DIR
=====================================================

Source dir, on my samba share :

cal...@brutis:~$ ls -lh /media/shared
drwxrwx--- 1 root bogglers    0 2010-11-23 23:16 test

Source file :

cal...@brutis:~$ ls -lh /media/shared/test/
-rwxrwx--- 1 root bogglers 6.7M 2010-11-23 23:07 image.jpg

Safe Delete dir, on my samba share :

cal...@brutis:~$ ls -lh ~
drwxr-xr-x 2 callan callan 4.0K 2010-11-23 23:16 geeqie_trash


I tested with the safe delete dir (/home/callan/geeqie_trash) owned by 
me. I then tested with the dir owned by root/bogglers, with perms 770.

In both cases I get a file deletion failed message. The source file is 
NOT removed, however the following file does appear in the safe delete dir :

cal...@brutis:~$ ls -lh geeqie_trash/
-rwxrwx--- 1 callan callan 6.7M 2010-11-23 23:07 000000_image.jpg




================================================
MOVING FILE MANUALLY
================================================

Source dir, on my samba share :

cal...@brutis:~$ ls -lh /media/shared
drwxrwx--- 1 root bogglers    0 2010-11-23 23:16 test


Source file :

cal...@brutis:~$ ls -lh /media/shared/test/
-rwxrwx--- 1 root bogglers 6.7M 2010-11-23 23:07 image.jpg



I tested first with the target dir (/home/callan/geeqie_trash) owned by 
me, and then with it owned by root/bogglers and perms 770.

In both cases a manual file move is successful (return code 0), the file 
is correctly moved, with destination as follows :

cal...@brutis:~$ ls -lh /home/callan/geeqie_trash/
-rwxrwx--- 1 callan bogglers 6.7M 2010-11-23 23:07 image.jpg




------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to