Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Make sure TMPDIR is created and 777. #20

Merged
merged 2 commits into from Aug 23, 2012

Conversation

joneschrisg
Copy link
Contributor

CC @doublec

The gecko media cache wants to create cache files in TmpD, which is /data/local/tmp. However, it doesn't have permission to do that. This patch ensure TmpD is created and is 777 when b2g is launched.

We should consider destroying /data/local/tmp on startup, because otherwise I don't think it will ever be cleaned. But that's work for another bug.

@michaelwu can you take a look? Thanks.

@joneschrisg
Copy link
Contributor Author

Updated.

dhylands added a commit that referenced this pull request Aug 23, 2012
Make sure TMPDIR is created and 1777.
@dhylands dhylands merged commit a9b6133 into mozilla-b2g:master Aug 23, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants