Hide Forgot
Description of problem: When SELinux is enforcing, firefox cannot print to a file in my home directory. The following error is logged to /var/log/audit/audit.log: type=AVC msg=audit(1473801599.614:394): avc: denied { create } for pid=22384 comm=57656220436F6E74656E74 name="test.pdf" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 Printing to a file in /tmp works. Version-Release number of selected component (if applicable): firefox-48.0.1-1.fc23.x86_64 How reproducible: Happens every time Steps to Reproduce: 1. Start Firefox. 2. Press the key combination Ctrl-P to print. 3. Select the printer named Print to File. 4. Use the File selector to select a file in the home directory. 5. Click on the Print button. Actual results: No file is created. An SELinux AVC is logged. Expected results: A file is created in the selected location.
Same problem on Fedora 24 firefox-49.0-2.fc24.x86_64 selinux-policy-3.13.1-191.17.fc24.noarch selinux-policy-targeted-3.13.1-191.17.fc24.noarch
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Still a thing on F25: type=AVC msg=audit(1491838659.566:844): avc: denied { create } for pid=5695 comm=57656220436F6E74656E74 name="math4364-fall-2017.pdf" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 firefox-52.0.2-2.fc25.x86_64 selinux-policy-3.13.1-225.11.fc25.noarch
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.