ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 (ردّان اثنان)
  • 0 have this problem
  • 61 views
  • آخر ردّ كتبه 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.

Read this answer in context 👍 2

All Replies (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.