Closed Bug 301014 Opened 19 years ago Closed 19 years ago

Cant Add new mail account as User under Windows with Home folder path changed

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

1.7 Branch
x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: tower, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511

Mozilla cant use newly created mail/news account
If the user dosn`t Have permissions to write inside
C:\Documents and Settings Home folder.
I use all programs and they all store their data in
D:\Documents and settings, And there are Registry keys that point to
D:\Documents and settings directory.
If you Allow the user to write to C:\Documents and settings, than Acoount setup
works.
If you later Put mail/news box files on other location and change pah manually
in mozilla, it works later from that new path.
Conclusion: Mozilla Add new account wizard should look location for "Documents
and settings" folder, in the system registry and not assume that
it is Always inside "C:\Documents and settings"
I don`t even have "C:\Documents and settings" directory!

Reproducible: Always

Steps to Reproduce:
1.Set your Windows 2K/XP machine to have Documents and settings directory
  on the other place then "C:\Documents and settings".
  It can be done by Editing System registry and copying User account files
  to new location, upon new installation (Before users are created).
  So, you have D:\Documents and settings but NOT C:\Documents and setting dir.
2.Install Mozilla
3.Log on the Windows As USER
4.Try to make new Mail/News account
5.Wizard Can`t write to C:\Documents and settings and cant write do disk.
6.You end up with account that doesn work and doesn`t refresh its server info.
7.No user can use Mozilla Mail/News on windows System.

Actual Results:  
Noone with User level Access right on Windows machine
cant add new mail or news account, E.G.
Noone on that machine can Use mozilla mail or the news,
Beacouse Acoount wizard assumes its directory must be under C:\Documents And
Settings, which is not.

Expected Results:  
New Account Wizard should look into the REGISTRY and find where User home
directoris are.
Not asuming that they all are in C:\Docuuments and settings.
They Could Be on directories like this: D:\Documents and settings, E:\Users, 
G:\User files ,etc.

The problem is inside Account wizard only.
It can be solved with Wizard looking in the system registry, not
only at the defauls OS location for Documents and settings.

The rest of mozilla works fine after you add user rights to Defaul Directory,
make account(s) , copy their files to the new location, change path i mozilla,
delete c:\documents and settins and restart mozilla.

But for this you need to have administrator rights wich User under Windows dont
have, and cant create ANY acoount if Acoounts are NOT in the default location.
(D:\Documents and Settings or other)
*** Bug 301013 has been marked as a duplicate of this bug. ***
Please check what are your environment variables for:

%USERPROFILE%, %HOMEDRIVE%, %HOMEPATH%, %APPDATA%.

It can't be hardcoded, because Mozilla runs on all language versions of Windows.
But it could be, that we use %SYSTEMDRIVE% or some registry settings. Because
the change of the whole d&s (and not only MyFiles) is not so easy as it looks
completely.

see http://lxr.mozilla.org/mozilla/search?string=USERPROFILE

Version: unspecified → 1.7 Branch
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8)
Gecko/20050511
> Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8)
Gecko/20050511
> 
> Mozilla cant use newly created mail/news account
> If the user dosn`t Have permissions to write inside
> C:\Documents and Settings Home folder.
> I use all programs and they all store their data in
> D:\Documents and settings, And there are Registry keys that point to
> D:\Documents and settings directory.
> If you Allow the user to write to C:\Documents and settings, than Acoount setup
> works.
> If you later Put mail/news box files on other location and change pah manually
> in mozilla, it works later from that new path.
> Conclusion: Mozilla Add new account wizard should look location for "Documents
> and settings" folder, in the system registry and not assume that
> it is Always inside "C:\Documents and settings"
> I don`t even have "C:\Documents and settings" directory!
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.Set your Windows 2K/XP machine to have Documents and settings directory
>   on the other place then "C:\Documents and settings".
>   It can be done by Editing System registry and copying User account files
>   to new location, upon new installation (Before users are created).
>   So, you have D:\Documents and settings but NOT C:\Documents and setting dir.
> 2.Install Mozilla
> 3.Log on the Windows As USER
> 4.Try to make new Mail/News account
> 5.Wizard Can`t write to C:\Documents and settings and cant write do disk.
> 6.You end up with account that doesn work and doesn`t refresh its server info.
> 7.No user can use Mozilla Mail/News on windows System.
> 
> Actual Results:  
> Noone with User level Access right on Windows machine
> cant add new mail or news account, E.G.
> Noone on that machine can Use mozilla mail or the news,
> Beacouse Acoount wizard assumes its directory must be under C:\Documents And
> Settings, which is not.
> 
> Expected Results:  
> New Account Wizard should look into the REGISTRY and find where User home
> directoris are.
> Not asuming that they all are in C:\Docuuments and settings.
> They Could Be on directories like this: D:\Documents and settings, E:\Users, 
> G:\User files ,etc.
> 
> The problem is inside Account wizard only.
> It can be solved with Wizard looking in the system registry, not
> only at the defauls OS location for Documents and settings.
> 
> The rest of mozilla works fine after you add user rights to Defaul Directory,
> make account(s) , copy their files to the new location, change path i mozilla,
> delete c:\documents and settins and restart mozilla.
> 
> But for this you need to have administrator rights wich User under Windows dont
> have, and cant create ANY acoount if Acoounts are NOT in the default location.
> (D:\Documents and Settings or other)

Reporter, check nexts, please.
1) Log on the Windows As USER(user of %HOMEDRIVE% is "D:")
2) Open Command Prompt Window(MS DOS Command Prompt in Win-95/2K)
   2-1) ECHO %SYSTEMDRIVE%
   2-2) ECHO %USERPROFILE%
   2-3) ECHO %APPDATA%
3) Start "Profile Manager" (mozilla.exe -p in short-cut is easiest way)
   3-1) Define a new profile
        (Q1) Where the new profile be created?  
   3-2) Start with this new profile
   3-3) Start mail&news, try to define a POP3 account(if failed, cancel it)
   3-4) Start browser, about:config
        (Q2) What is set in mail.root.pop3-rel?

(Q3) What is set in mail.root.pop3-rel in currently using prefs.js?  
(Q4) Where is your currenty using Mozilla's profile placed?
(In reply to comment #5)
I Deleted user Account
also, I deleted cygwin from the PATH,
And voila, User CAN Make Accounts and everything is working fine.
ECHO %SYSTEMDRIVE% C:
ECHO %USERPROFILE% D:\Documents and Settings\User
ECHO %APPDATA%     D:\Documents and Settings\User\Application Data
user_pref("mail.root.pop3-rel", "[ProfD]Mail");
D:\Documents and Settings\User\Application Data\Mozilla\Profiles\default

It seems that something was wrong with That account(s)
or the Cygwin path was the trouble. (Gaim application also did not work)
Anyway, it somehow seems that problem didnt existed and that it was 
only some problem to my local machine. (Or interaction with Czgwin)
Thanks.
Closing as INVALID according to comment #6 by reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.