Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Files are not deleted, but made hidden
Files are not deleted, but made hidden
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 ??
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 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
- dilberts_left_nut
- Administrator
- Posts: 5347
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: Files are not deleted, but made hidden
Show evidence.
AdrianTM wrote:There's no hacker in my grandma...
Re: Files are not deleted, but made hidden
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 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: Files are not deleted, but made hidden
from your description i'd say that the newer software version simply handles things differently.
Re: Files are not deleted, but made hidden
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.
quite the opposite, I think.
certainly Deluge is a bit older now and the kernel is also a lower version.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: Files are not deleted, but made hidden
forgive me.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.
i meant to say:
from your description i'd say that the other software version simply handles things differently.
Re: Files are not deleted, but made hidden
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:
could this have to do with the way the drive is mounted ??
mount -l says:
my fstab says:fred44nl@Debian:~$ mount -l | grep sdb1
/dev/sdb1 on /mnt/usbhdd type ext4 (rw,relatime,data=ordered)
UUID=cdd8bbd9-285b-45e8-ad06-ab29e7997e0b /mnt/usbhdd ext4 defaults 0 1
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: Files are not deleted, but made hidden
why do you say that?fred44nl wrote:could this have to do with the way the drive is mounted ??
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?
Re: Files are not deleted, but made hidden
what might happen if I were to mount the drive with 'defaults,noatime' ??debiman wrote:why do you say that?fred44nl wrote:could this have to do with the way the drive is mounted ??
as this was the way the drive was mounted under Raspbian.
this was advised as the Raspberry is not very powerfull.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: Files are not deleted, but made hidden
I opened one of those hidden files and this was in it:
any suggestions ??
edit:
veto files
(there is more, but I cannot quote that)com.apple.lastuseddate
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 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: Files are not deleted, but made hidden
All you need to do is to edit your share config - /etc/samba/smb.conf - and add the following option into your share config:Ann521 wrote: Faced exactly same issue and I still don't know the solution. Please help me.
veto files = /._*/.DS_Store/
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
## preventing both resource shares and .DS_Store files
veto files = /._*/.DS_Store/
delete veto files = yes
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1