Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox can't download file to mounted ntfs device. Instead it creates thousands of empty files

  • 2 отговора
  • 0 имат този проблем
  • 2 изгледи
  • Последен отговор от Mar Brz

more options

Hello.

Lately i found strange bug in FF 119.0 (ppa - deb, not snap version), ubuntu 23.10 I can't download any file to mounted ntfs volume. Firefox instead creates thousands of empty files. Once it was 10001 or 10003 other time it was 20000 of files. I tried private-window, no change. I have removed all add-ons - no change.

For example i was trying to download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso and i ended with (only few last lines):

-rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9989.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-998.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9990.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9991.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9992.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9993.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9994.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9995.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9996.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9997.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9998.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9999.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-999.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-99.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest.exe

I can download the same source files to the same location with other browsers without problems. Thank You for Your help!

Hello. Lately i found strange bug in FF 119.0 (ppa - deb, not snap version), ubuntu 23.10 I can't download any file to mounted ntfs volume. Firefox instead creates thousands of empty files. Once it was 10001 or 10003 other time it was 20000 of files. I tried private-window, no change. I have removed all add-ons - no change. For example i was trying to download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso and i ended with (only few last lines): -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9989.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-998.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9990.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9991.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9992.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9993.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9994.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9995.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9996.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9997.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9998.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9999.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-999.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-99.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest-9.exe -rwxrwxrwx 1 root root 0 2023-10-27 22:23 spice-guest-tools-latest.exe I can download the same source files to the same location with other browsers without problems. Thank You for Your help!

Избрано решение

Ubuntu has an apparmor profile for /usr/lib/firefox/firefox which limits paths that are accessible. You can add paths to /etc/apparmor.d/tunables/home or /etc/apparmor.d/local/usr.bin.firefox. Apply changes with sudo service apparmor reload.

Прочетете този отговор в контекста 👍 2

Всички отговори (2)

more options

Избрано решение

Ubuntu has an apparmor profile for /usr/lib/firefox/firefox which limits paths that are accessible. You can add paths to /etc/apparmor.d/tunables/home or /etc/apparmor.d/local/usr.bin.firefox. Apply changes with sudo service apparmor reload.

more options

Thank you zeroknight! So it turns out that this is not a Firefox bug at all :)

What i did: sudoedit /etc/apparmor.d/local/usr.bin.firefox added:

 /<My parent  download directory>/** rw,

sudo apparmor_parser -r /etc/apparmor.d/usr.bin.firefox restart firefox

Problem solved.