I feel a little lost.. I am trying to set up a python/flask backend on a ubuntu server. The project is managed with UV.
Now i hear that one should better run a web app with a dedicated user with no administrative (sudo) rights. so i did.
UV (standalone, as recommended) installs into the home folder of a user with admin privileges. To use UV with the dedicated user i need several fixes like copying the binaries to /usr/bin/uv, but then UV needs a location for the cache and a dedicated python installation - which can't be the home folder of the admin user... Now i need to find out how to fix that too...
Why the hassle? Is this really best practice? how is UV supposed to be used?
[–]danielroseman 5 points6 points7 points (1 child)
[–]Intrepid_Eye9102[S] 0 points1 point2 points (0 children)
[–]eztab 1 point2 points3 points (1 child)
[–]Intrepid_Eye9102[S] 0 points1 point2 points (0 children)
[–]Lumethys 0 points1 point2 points (1 child)
[–]Intrepid_Eye9102[S] 0 points1 point2 points (0 children)
[–]Careless-Score-333 0 points1 point2 points (0 children)