Bruce Momjian wrote: >> Note: programs that run as non-root users may be unable to create files un >der >>
/var/runand therefore need a subdirectory owned by the appropriate user. > >This is the killer. We can't require root.
Seems we are stuck with >/tmp.
I'd be surprised to learn that non-admin users are allowed to write
in /usr/local, either. If, on some machine, PostgreSQL is such an
unoffical project that the admin won't agree to create /var/run/postgresql,
the user can define his own temporary directory using the method we have
already included in 7.1; if, on the other hand, he is able to create
/usr/local/pgsql, he will also be able to create /var/run/postgresql.
Really, how many users do we have who can't get their admin to do
this for them?
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
======================================== "Come now, and let us reason together, saith the LORD; though your sins
beas scarlet, they shall be as white as snow; though they be red like crimson, they shall be as wool."
Isaiah 1:18