message missing when trying to upload ureadable file

Bug #799400 reported by Lars Noodén
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: firefox

When trying to upload a file that the user does not have read permissions to, Firefox does not up load it, of course, but also gives no error. If the file is unreadable, then Firefox should notice and complain.

$ apt-cache policy firefox
firefox:
  Installed: 4.0.1+build1+nobinonly-0ubuntu0.11.04.3
  Candidate: 4.0.1+build1+nobinonly-0ubuntu0.11.04.3
  Version table:
 *** 4.0.1+build1+nobinonly-0ubuntu0.11.04.3 0
        500 http://fi.archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.0.1+build1+nobinonly-0ubuntu0.11.04.1 0
        500 http://security.ubuntu.com/ubuntu/ natty-security/main amd64 Packages
     4.0+nobinonly-0ubuntu3 0
        500 http://fi.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages

Revision history for this message
Lars Noodén (larsnooden) wrote :

Step to reproduce:

1. try to upload a file that the account is missing read permission to

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
Mike Mestnik (cheako) wrote :
Download full text (13.9 KiB)

Perhaps this can help with apparmor settings? I was trying to upload logs to Launchpad, so "ureadable files" could also include that.

 ################### Logwatch 7.4.0 (03/01/11) ####################
        Processing Initiated: Mon Feb 25 07:35:08 2013
        Date Range Processed: yesterday
                              ( 2013-Feb-24 )
                              Period is day.
        Detail Level of Output: 0
        Type of Output/Format: mail / text
        Logfiles for Host: arcadia.mikemestnik.net
 ##################################################################

 --------------------- Kernel Audit Begin ------------------------

 *** Denials ***
    open /etc/asound.conf (/usr/lib/firefox/firefox{,*[^s][^h]} via plugin-containe): 3 times
    open /etc/ld.so.preload (/usr/lib/firefox/firefox{,*[^s][^h]} via firefox): 5 times
    open /etc/ld.so.preload (/usr/lib/firefox/firefox{,*[^s][^h]} via grep): 6 times
    open /etc/ld.so.preload (/usr/lib/firefox/firefox{,*[^s][^h]} via plugin-containe): 6 times
    open /etc/ld.so.preload (/usr/lib/firefox/firefox{,*[^s][^h]} via sh): 6 times
    open /var/log/apport.log.1 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 3 times
    open /var/log/auth.log.0 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/boot (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/boot.0 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/daemon.log.0 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/debug.0 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/dpkg.log (/usr/lib/firefox/firefox{,*[^s][^h]} via firefox): 16 times
    open /var/log/syslog (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/syslog.0 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/syslog.1 (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times
    open /var/log/udev (/usr/lib/firefox/firefox{,*[^s][^h]} via pool): 4 times

 **Unmatched Entries**
  type=1400 audit(1361744152.135:206): apparmor="DENIED" operation="capable" parent=7240 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=7675 comm="firefox" capability=19 capname="sys_ptrace"
  type=1400 audit(1361744152.135:207): apparmor="DENIED" operation="ptrace" parent=7240 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=7675 comm="firefox" target=F00240F7F00240F76602
  type=1400 audit(1361744152.135:208): apparmor="DENIED" operation="ptrace" parent=7240 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=7675 comm="firefox" target=F00240F7F00240F76602
  type=1400 audit(1361744152.135:209): apparmor="DENIED" operation="ptrace" parent=7240 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=7675 comm="firefox" target=F00240F7F00240F76602
  type=1400 audit(1361744152.135:210): apparmor="DENIED" operation="ptrace" parent=7240 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=7675 comm="firefox" target=F00240F7F00240F76602
  type=1400 audit(1361744152.135:211): apparmor="DENIED" operation="ptrace" parent=7240 profile="/usr/lib/firefox/firefox{,*[^s][^h]}" pid=7675 comm="firefox" target=F00240F7F00240F...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.