Since every replit is docker image, it would be great if the user would recieve full root permission in it.
Since the content of a docker image is sandboxed (isolated), there is no risk that it could influence the host system.
What problem(s) would this feature solve?
It would allow the user (among others) to:
install and update the required packages and tools
customize the environment to the needs
Beniffit’s:
Above would reduce the amount of workload related with the maintanance for the server’s administrator’s in the matters of keeping all replit’s sofware up to date, since the users would be able to do that themself’s
As I explained in another feature request, giving the user root inside of his container would allow him/her to self:
upgrade existing versions of the installed software
install missing tools and packages
etc.
Keep in mind that not every one is familiar with nix and installing some software (for example tools or packages) requires other software (like: pip or apt, where apt oftenly requires elevated priviledges to work correctly).
This would also have adventages of reducing the workload of the staff members who are managing all replit related services
pip already works, and most things you’d add with apt can be added by nix. As for not understanding nix, running commands in Shell that don’t exist cause nix to suggest packages to install to fix the issue.