#1576 Updater: needs to elevate permissions to install to system folders

None
open
nobody
None
5
2017-03-26
2012-03-25
Alan Ezust
No

Currently, when someone installs jEdit from debian packages, or if the windows installer puts it to c:\Program Files\, then regular users can not use updater to update the program. It fails because that file system is protected except from administrators.

Updater should check the permissions, and then if it's readonly, do some sort of permissions escalation (which is of course, different on different platforms, but is available as a command line tool on each).

Discussion

  • Alan Ezust

    Alan Ezust - 2013-02-07
    • assigned_to: shlomy --> nobody
     
  • Alan Ezust

    Alan Ezust - 2017-03-26
    • summary: Updater: error or install to new location on readonly perms --> Updater: needs to elevate permissions to install to system folders
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,3 @@
    -Currently, when someone installs jEdit from debian packages, or if a superuser installs it to c:\Program Files\, then regular users can not use updater to update the program. It fails because that file system is readonly for regular users.
    +Currently, when someone installs jEdit from debian packages, or if the windows installer puts it to c:\Program Files\, then regular users can not use updater to update the program. It fails because that file system is protected except from administrators. 
    
    -Updater should check the permissions, and then if it's readonly, 
    -A dialog should pop up that says "Updater \(Java actually\) does not have adequate permissions to do this. Would you like to Install to a different folder, or cancel? "
    -
    -At which point, it should allow the user to cancel or supply a different location to install/run jEdit from.
    -
    +Updater should check the permissions, and then if it's readonly, do some sort of permissions escalation (which is of course, different on different platforms, but is available as a command line tool on each).
    
    • Group: -->
     

Log in to post a comment.