搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.