Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.