Bug 581182 - running "firefox-bin -profile /tmp/newdir" no longer works. r=benjamin, a=dtownsend

This commit is contained in:
Justin Dolske 2010-09-09 19:08:25 -07:00
parent 2bd5c1a9c1
commit 9b7acfdc2f

View File

@ -2137,7 +2137,7 @@ SelectProfile(nsIProfileLock* *aResult, nsINativeAppSupport* aNative,
PRBool exists;
lf->Exists(&exists);
if (!exists) {
rv = lf->Create(nsIFile::DIRECTORY_TYPE, 0644);
rv = lf->Create(nsIFile::DIRECTORY_TYPE, 0700);
NS_ENSURE_SUCCESS(rv, rv);
}