EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     UAC is not fully supported
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
visitor
Posted on: 12/20/2011 11:51 am
Not too shy to talk
Joined: 6/22/2008
From:
Posts: 25
Re: UAC is not fully supported
Quote:

Yutaka wrote:
If EmEditor needs to elevate itself, it should stay as elevated status all the time until EmEditor closes.

Doesn't EmEditor use EEAdmin to achieve Administrator rights? It is elevated only once to read the file and then it closes. This technique is safe because it is used when saving a file. Also it is not rare case, e.g. Passwords.txt. Please, think about this feature in future versions.
Yutaka
Posted on: 12/20/2011 10:22 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: UAC is not fully supported
Unlike saving a file, reading a file is a basic function of EmEditor, and it has to read a file anytime while EmEditor is running. If EmEditor needs to elevate itself, it should stay as elevated status all the time until EmEditor closes. This situation is also dangerous when EmEditor opens other files at the same time.

Furthermore, I believe it is a very rare case, so I wouldn't put much effort to enable this kind of situations. Rather, I would like to put that effort to something else more important to other people.


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

visitor
Posted on: 12/20/2011 9:19 am
Not too shy to talk
Joined: 6/22/2008
From:
Posts: 25
Re: UAC is not fully supported
Sure, I can manually choose "Run as administrator" and I agree that it is not a bug. But why EmEditor does not elevate itself in this situation as it does when saving a file?
Yutaka
Posted on: 12/20/2011 9:03 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: UAC is not fully supported
Hi visitor,

This situation is not supported, and it is not a bug. I don't think this situation happens very often. EmEditor should NOT open such a file while running as a lower privilege. The only way to open such a file is to run EmEditor as an Administrator, and then you can open any files without any problems. To run EmEditor as an Administrator while logging in as a user, you can right click on the EmEditor icon while pressing SHIFT key, and then choose "Run as administrator".


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

visitor
Posted on: 12/20/2011 3:12 am
Not too shy to talk
Joined: 6/22/2008
From:
Posts: 25
UAC is not fully supported
When I try to open a file that can be read by Administrator only (not User) EmEditor says that access is denied. Expected: UAC elevation request.
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文