5 ms·
Apps should write data files to %APPDATA%, not Program Files where the executables shall reside. The only excuse for installing to c:\chocolatey is lazyness
by Nilzor 14y ago
Apps should write data files to %APPDATA%, not Program Files where the executables shall reside. The only excuse for installing to c:\chocolatey is lazyness
- Shorel 14y agoIn this case, Chocolatey's data files are actually program files for the rest of the system. It's just a simple consequence to the fact that Chocolatey is not 'a program' with clearly defined 'data files', but a general purpose software manager (and one that should really be a part of Windows). The Von Neumann architecture won over the Harvard architecture for a reason. You should learn about it.
- SideburnsOfDoom 14y ago> The Von Neumann architecture won over the Harvard architecture for a reason And then we placed restrictions on it for another reason: security. See Data Execution Prevention http://en.wikipedia.org/wiki/Data_Execution_Prevention http://en.wikipedia.org/wiki/Data_Execution_Prevention Which, like these file system permissions, attempts to divide storage into things that you can write and things that you can execute, and the two only meeting in special cases. You're saying that Chocolatey needs elevated privileges to do it's special thing. Sure. Then it shouldn't be designed around the needs of users who can't get those permissions.
- dkl 14y agoThis is just plain naive. See Shorel's comment, and to that I'll add: That is YOUR definition of where to write data files. Not mine and certainly not everyone's idea. Saying that all apps should fit this model is just absurd.
- SideburnsOfDoom 14y ago> That is YOUR definition of where to write data files Well, Him and the designers of the operating system.
- dkl 14y agoMy point is they changed the definition. It wasn't always that way.
- SideburnsOfDoom 14y agoYou'd prefer that nothing changed? OSs evolve. Deal with it.