The only drawback is that there is no warning when recycler is missing like there is on Windows. Therefore I've implemented "silent delete if recycler is not available" also for Linux in v3.20, so that mixed scenarios are possible. I cannot make Windows behave like GIO, but the opposite is partly possible. The problem is, how to fit this behavior into a common interface. GIO on the other hand has none, so this situation cannot be determined a priori. Windows allows for a check whether a directory supports recycle bin, so the user can be informed before actually starting to delete. But the drawback is mixed scenarios with one drive having a recycler while the other doesn't are not supported. GIO (Linux) on the other hand rightly notifies this situation as an error. This is very unfortunate as an unknowing user may rely that the files FFS deletes on his USB stick are somewhat safe by moving them to recycler, while in fact they are silently deleted. Windows deletes a file permanently if recycler is not available without providing any information about this situation. Unfortunately Windows and Linux (via GIO) recycle bin handling are quite different: I was expecting some complaint in this regard. cgi?id= 655159Įxcept Nautilus refuses, where FreeFileSync properly removes the dir and then crashes. It might have something in common with a similar bug I found in Nautilus: Something complicates this, and it might have something to do with directories created by FFS on a previous sync versus directories that were already on the target system. I've had two cases where FFS crashes and closes while doing this, but I have not been able to reproduce this. This might not be desirable when you sync multiple dirs and you want to use the trash where possible. Set the synchronize option for deletion to 'delete permanently'. The file "FFS 035751" cannot be moved to the trash.Īnd give the option to delete the files anyway, bypassing the trashcan. If certain files cannot be moved to a recycle bin (memory cards, mounted photocameras, sshfs mounts, etc), just remove them permanently and put a warning in the summary at the end instead of stopping the sync, leaving the trash out, and wait for the user to click ignore.Īt least make a sane error message like Nautilus does:Ĭannot move file to trash, do you want to delete immediately? (Glib Error Code 15, g-io-error-quark: Unable to find or create trash directory) "/home/ redsandro/ sshfs-mount/ cygdrive/ c/somedir/ FFS 035751" It took me a lot of hours already without any difference.Files on a sshfs mounted directory cannot be removed to the recycle bin: It seems that FreeFileSync does not have the correct permissions, but I don't find a way to change it. When I do it manually (copy/paste files and folders to mounted folder) everything works fine. If followed the instructions as described here.īUT in all cases I get the following error code in FreeFileSync for the files to be transfered to the NAS: errorcode 13: Permission denied I've uses several mounting options, as with or without umask=0222,file_mode=0777,dir_mode=0777 I have mounted my shared folder with following line in /etc/fstab It works perfect between folders on my laptop and from NAS to laptop. I'm trying to figure out how to get my laptop synced with my (Synology) NAS. I'm new in linux so forgive me if I make obvious mistakes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |