Closed Bug 684368 Opened 13 years ago Closed 13 years ago

OGV Video does not play due to %tmp%\mozilla-media-cache ACCESS DENIED

Categories

(Core :: Audio/Video, defect)

6 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 612246

People

(Reporter: aragorn_6, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1
Build ID: 20110830092941

Steps to reproduce:

On Windows XP: 
1. Install & Open FF for the first time as user with administrative privileges (important!), visit some webpage containing media (i.e. ogv video).
A directory %tmp%\mozilla-media-cache is created.
2. close FF and log off
3. log on as user with no administrative privileges
4. access some webpage with <video> tag using <source> ogv. The video is not played ("X" appears).


Actual results:

Symptom: OGV Video does not play
Cause: write access to %tmp%\mozilla-media-cache is denied

Excerpt from ProcessMonitor:
00:05:49,8867090	firefox.exe	1896	QueryOpen	C:\tmp\mozilla-media-cache	SUCCESS	CreationTime: 09.04.2011 19:44:56, LastAccessTime: 02.09.2011 23:58:11, LastWriteTime: 02.09.2011 23:58:11, ChangeTime: 02.09.2011 23:58:11, AllocationSize: 0, EndOfFile: 0, FileAttributes: D
00:05:49,8868464	firefox.exe	1896	CreateFile	C:\tmp	NAME COLLISION	Desired Access: Read Data/List Directory, Synchronize, Disposition: Create, Options: Directory, Synchronous IO Non-Alert, Attributes: N, ShareMode: Read, Write, AllocationSize: 0
00:05:49,8869844	firefox.exe	1896	CreateFile	C:\tmp\mozilla-media-cache	NAME COLLISION	Desired Access: Read Data/List Directory, Synchronize, Disposition: Create, Options: Directory, Synchronous IO Non-Alert, Attributes: N, ShareMode: Read, Write, AllocationSize: 0
00:05:49,8870939	firefox.exe	1896	QueryOpen	C:\tmp\mozilla-media-cache	SUCCESS	CreationTime: 09.04.2011 19:44:56, LastAccessTime: 02.09.2011 23:58:11, LastWriteTime: 02.09.2011 23:58:11, ChangeTime: 02.09.2011 23:58:11, AllocationSize: 0, EndOfFile: 0, FileAttributes: D
00:05:49,8871987	firefox.exe	1896	CreateFile	C:\tmp\mozilla-media-cache	ACCESS DENIED	Desired Access: Write Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a



Expected results:

OGV Video plays.

Workaround 1: log on with administrative privileges, remove %tmp%\mozilla-media-cache directory, log off, log on with non-administrative privileges and reopen webpage. Video works from now on.

Workaround 2: don't open media pages as admin user for the first time...

Solution: FF should create %tmp%\mozilla-media-cache with proper permissions,
Component: General → Video/Audio
Product: Firefox → Core
QA Contact: general → video.audio
Blocks: 572579
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.