Files are not deleted, but made hidden

New to Debian (Or Linux in general)? Ask your questions here!

Files are not deleted, but made hidden

Postby fred44nl » 2018-09-04 09:53

before my present machine, I was using a Raspberry Pi 3B, with Raspbian Lite.
to begin with, this was Jessie, later upgraded to Stretch.
when downloading files with Sabnzbd+ and Deluge, the nzb- and torrent-files were placed in a special folder, watched by Sabnzbd+ and Deluge. once detected and handled, these nzb- and torrent-files were deleted, as they should.

now, I an running Debian 9 Stretch and doing exactly the same thing.
everything works well, with one exception:
the nzb- and torrent-files are not deleted from the watched folder correctly.
they are made hidden, instead of being deleted.

what could be causing this ??
Debian 9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 55
Joined: 2018-07-14 08:54

Re: Files are not deleted, but made hidden

Postby dilberts_left_nut » 2018-09-04 10:21

Show evidence.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4869
Joined: 2009-10-05 07:54
Location: enzed

Re: Files are not deleted, but made hidden

Postby fred44nl » 2018-09-04 12:04

fred44nl@Debian:~$ ls -al /mnt/usbhdd/shares/Downloads
totaal 32
drwxrwxrwx 2 fred44nl fred44nl 12288 sep 4 13:15 .
drwxrwxrwx 29 fred44nl fred44nl 4096 sep 4 10:32 ..
-rwxrw-rw- 1 fred44nl fred44nl 4096 sep 4 10:09 ._Better.Call.Saul.S04E05.1080p.WEB.X264-METCON[rartv]-[rarbg.to].torrent.invalid
-rwxrw-rw- 1 fred44nl fred44nl 4096 sep 4 12:54 ._Harlots (2018) S02E06 1080p HULU WEB-DL DD2.0 NL Subs.torrent.invalid
-rwxrw-rw- 1 fred44nl fred44nl 4096 sep 4 12:54 ._Power-S05E07-1080p-WEB-DL-DD-5-1-H264-2018-NL-Subs.torrent.invalid
-rwxrw-rw- 1 fred44nl fred44nl 4096 sep 4 10:31 ._WdCJNvuLLv1qOVO7X1.par2.nzb
Debian 9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 55
Joined: 2018-07-14 08:54

Re: Files are not deleted, but made hidden

Postby debiman » 2018-09-04 19:00

from your description i'd say that the newer software version simply handles things differently.
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

Re: Files are not deleted, but made hidden

Postby fred44nl » 2018-09-05 09:29

don't think my current software is newer, than before.
quite the opposite, I think.
certainly Deluge is a bit older now and the kernel is also a lower version.
Debian 9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 55
Joined: 2018-07-14 08:54

Re: Files are not deleted, but made hidden

Postby debiman » 2018-09-06 14:28

fred44nl wrote:don't think my current software is newer, than before.
quite the opposite, I think.
certainly Deluge is a bit older now and the kernel is also a lower version.

forgive me.
i meant to say:
from your description i'd say that the other software version simply handles things differently.
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

Re: Files are not deleted, but made hidden

Postby fred44nl » 2018-09-06 14:56

there appear to be more hidden files, with the same name as the file, they are referring to.
could this have to do with the way the drive is mounted ??

mount -l says:
fred44nl@Debian:~$ mount -l | grep sdb1
/dev/sdb1 on /mnt/usbhdd type ext4 (rw,relatime,data=ordered)


my fstab says:
UUID=cdd8bbd9-285b-45e8-ad06-ab29e7997e0b /mnt/usbhdd ext4 defaults 0 1
Debian 9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 55
Joined: 2018-07-14 08:54

Re: Files are not deleted, but made hidden

Postby debiman » 2018-09-06 15:01

fred44nl wrote:could this have to do with the way the drive is mounted ??

why do you say that?

sorry if i didn't make it clearer, but from your description the problem seems to be with the software you're using, nothing else.
maybe you should ask the developers of the software in question?
maybe it has its own forum/wiki/issue tracker?
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

Re: Files are not deleted, but made hidden

Postby fred44nl » 2018-09-06 15:08

debiman wrote:
fred44nl wrote:could this have to do with the way the drive is mounted ??

why do you say that?


what might happen if I were to mount the drive with 'defaults,noatime' ??

as this was the way the drive was mounted under Raspbian.
this was advised as the Raspberry is not very powerfull.
Debian 9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 55
Joined: 2018-07-14 08:54

Re: Files are not deleted, but made hidden

Postby fred44nl » 2018-09-06 15:32

I opened one of those hidden files and this was in it:
com.apple.lastuseddate

(there is more, but I cannot quote that)

any suggestions ??

edit:

veto files :)

All you need to do is to edit your share config (for example in Linux in /etc/samba/smb.conf) and add the following option into your share config:

veto files = /._*/.DS_Store/
Debian 9 on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 55
Joined: 2018-07-14 08:54


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable