News for hackers. Stuff that matters.
Re:The new Microsoft Edge is out of preview by altitudinous on Wednesday January 15, 2020 @02:43PM (#22057700)
On MacOS it requires admin privilege to install.

I am done with that after all the crap that previous software with admin rights installed. I cleaned it up and swore I would not install anything that required admin rights again - for my own security and peace of mind. What does it need admin rights for?

Re:The new Microsoft Edge is out of preview by crazygringo on Wednesday January 15, 2020 @04:35PM (#22058937)
Seriously, that bugs the hell out of me too.

Why do I need to give Adobe admin rights to install Photoshop? Why do I need to give Microsoft the same to install Word? And now for a web browser?

If I'm installing something low-level like a window manager or a keyboard shortcut tool, I get it. But for a normal mainstream flagship consumer application, what on earth do they need admin privileges for?!

I hate the fact I have to hand over the keys to my computer just to run basic industry standard software and I have no choice because it's industry standard and I have requirements to use it.

Re:The new Microsoft Edge is out of preview by tsimionescu on Wednesday January 15, 2020 @05:01PM (#22059243)
Well, there is an extremely simple reason: because these tools are installed for all users, not just your own. Doing it any other way would be wasteful on an actual multi-user machine. But some tools do support it - both Chrome and Firefox can be installed without admin privileges. There is also the fact that Office and many other products rely on demons starting at boot time, which can only be installed with admin rights. The same applies to all popular Linux distributions (even more than on Windows, since you can provide a nice current-user only installer on Windows, but any common program package on Linux requires admin rights before you can even access it).

On the other hand, for most people this admin vs regular user separation is almost meaningless and provides little extra security. Sure, if I install malware as admin it will be harder to get rid of it, but except for that, it can hurt me just as much, since all of the files I really care about (documents, photos, game saves etc) are already accessible with my user, and any program running as my user can already connect to the internet and send information about what my user is doing (not to mention bother me with ads). Some of the really damaging ransomware that recently made the rounds didn't even require admin privileges, it simply encrypted data in some common user-owned folders, if I'm not mistaken (it probably did need some privilege escalation to spread, though, which is a big problem on office networks).

Re:The new Microsoft Edge is out of preview by zapzupnz on Thursday January 16, 2020 @06:00AM (#22063420)
> because these tools are installed for all users

So all they should require is to be dragged into the /Applications folder (or /System/Applications in Catalina). That's it.

That's how a macOS app should be installed. That should be the end of the process unless it needs to install kernel extensions (and even then, from Catalina onwards, such extensions should become userland extensions).

Re:The new Microsoft Edge is out of preview by tsimionescu on Friday January 17, 2020 @09:07AM (#22074683)
But how could a regular user be allowed to install something for other users? That would be a breach of security.
Re:The new Microsoft Edge is out of preview by xp84 on Saturday January 18, 2020 @01:15AM (#22082694)
The missing piece here:

Applications also don't need to be (and third party apps on most single-user systems arguably shouldn't be) in /Applications. Users can put apps wherever the heck they like (I keep mine in ~/Applications which even gets the same icon automatically if you create it).

Apple could really streamline this because all apps that can be drag-drop installed really belong in one's own home directory, where they'll be seamlessly migrated when you move to a new computer, or brought with you if you have a roaming profile. As it is right now, I just keep both Applications folders in my Finder Sidebar and remember that the bottom one is "mine."

In an ideal scenario, users could still drag apps to the "one" Applications folder and if they are not an Admin the app itself would actually be stored in a default-invisible ~/Applications. Then when you opened "/Applications" the system would show you the superset of both locations.

This is of course nearly exactly how the Windows Start Menu works except that it always had "installers" do the work of putting those program shortcuts in the respective directories, and only well-behaved apps ever asked which place you wanted apps installed.

Re:The new Microsoft Edge is out of preview by zapzupnz on Sunday January 19, 2020 @05:16PM (#22094506)
Technically, an application bundle can be located anywhere on a Mac; there is no installation process, they’re self-contained and always have been.

The question of how a regular user could be allowed to install something for all users in this fashion, placing the app bundle in the /Applications folder, is no different than when using an installer: ask for an administrator password.

Re:The new Microsoft Edge is out of preview by contextfree on Wednesday January 15, 2020 @07:25PM (#22060424)
"Doing it any other way would be wasteful on an actual multi-user machine."

On Windows at least, UWP apps are deduplicated across all users on the same system so when user #2 installs the same app already installed by user #1, it will just point to the same existing shared instance of the app's files. I don't know much about MacOS but I'd guess there's a similar packaging system. These systems also incorporate sandboxes which address the other problems you mentioned in your last paragraph.

The problem is just when the OS teams can't convince other developers (even ones inside the same company in Microsoft's case) to actually use their packaging and sandbox systems.

Re:The new Microsoft Edge is out of preview by dragonwriter on Friday January 17, 2020 @09:10AM (#22074702)
> Well, there is an extremely simple reason: because these tools are installed for all users, not just your own. Doing it any other way would be wasteful on an actual multi-user machine.

It wouldn't be wasteful if I didn't want to install it for the other users, which I might not.

Re:The new Microsoft Edge is out of preview by ukyrgf on Wednesday January 15, 2020 @11:19PM (#22061661)
The amount of hooks that Adobe Creative Cloud claws into your OS is enough to make any software developer want to rip their hair out. Anytime I notice my mouse lag for a moment or an Explorer window hiccup, 30 seconds later I get notification that there is a new update for the Creative Cloud app...
Re:The new Microsoft Edge is out of preview by iaml on Thursday January 16, 2020 @05:27AM (#22063253)
I recently noticed some adobe process trying to access a random ip address and promptly blocked it, because it was probably analytics. Then it started retrying it more than once a second. This makes me think it's even worse inside than I feared, so I'm using gimp now. It's pretty good!
Re:The new Microsoft Edge is out of preview by techntoke on Wednesday January 15, 2020 @04:45PM (#22059071)
So that it can be used my multiple users. There are ways to install as a user without admin privileges.
Re:The new Microsoft Edge is out of preview by eyelidlessness on Wednesday January 15, 2020 @04:47PM (#22059101)
You can inspect (and extract) it with Pacifist[1] without using admin privileges.

[1] https://www.charlessoft.com/

Re:The new Microsoft Edge is out of preview by mrpippy on Wednesday January 15, 2020 @03:21PM (#22058056)
Maybe to install an autoupdater?
Re:The new Microsoft Edge is out of preview by alpb on Wednesday January 15, 2020 @03:57PM (#22058468)
It doesn't use a TUF-like update protocol that Chrome uses?
Re:The new Microsoft Edge is out of preview by trishankkarthik on Wednesday January 15, 2020 @11:02PM (#22061582)
Last I checked, Chrome uses CUP, which is more like TLS than TUF
Re:The new Microsoft Edge is out of preview by bonaldi on Wednesday January 15, 2020 @08:11PM (#22060720)
Do "Show Files" in the Installer app's menubar and it'll show you everything it's installing.

In this case, it's installing Edge and the universal Microsoft AutoUpdater app. Given the range of stuff that thing has to support (including all the Office apps) and the privs it will need to run at to do so, I think the admin requirement is not entirely unreasonable.

Re:The new Microsoft Edge is out of preview by altitudinous on Thursday January 16, 2020 @11:58PM (#22072001)
If Office 365 can use the Apple updater, so can Edge. Or they can do whatever Chrome does, it doesn't require admin rights. I don't think Microsoft can talk about secure and private and then require admin to install their software. It is archaic.
Re:The new Microsoft Edge is out of preview by mrpippy on Thursday January 16, 2020 @05:20PM (#22069637)
Ah, well at least it's using Microsoft's pre-existing AutoUpdater (the same one used by Office if you don't get it from the App Store)
Re:The new Microsoft Edge is out of preview by ajacksified on Wednesday January 15, 2020 @03:48PM (#22058355)
I was going to install it to try it out, but this was the dealbreaker for me.
Re:The new Microsoft Edge is out of preview by lucasverra on Wednesday January 15, 2020 @04:06PM (#22058566)
also requires 10.12 or above