Closed rodo closed 10 years ago
But still, I can see your point. We should at least mention that there may be permission problems, and that make install should be done with a special user.
+1 Most of production environments require root privilege. And I assume that people who compile their own postgres can for sure understand why they don't need root privilege :)
@marco44 indeed the make install doesn't work as is if your not root, make install will create directories that are owned by root in many distributions. I compiled in my home as usual :-)
I've committed a modified version of your patch. Tell me if you're ok with it…
@marco44 it's perfect, thanks for all future users who won't miss to su :-)
You don't HAVE to be root. But you may, especially if you are using a package. You could have compiled postgres by yourself, and then you would only need to do this make install as this user. In this case, sudoing as root may even be a bad idea ?