Postby Chad Mulligan » Fri Nov 22, 2002 7:14 pm
Astromarine --
List the exact command and error message you're getting.
Oh, and here's one issue that you may be running into:
The ld.so loader used by Linux systems to handle shared libraries ignores the LD_LIBRARY_PATH and LD_PRELOAD (mostly) variable for suid/sgid binaries. The RedHat compatibility fix for Uplink uses BOTH. So if you've
made the main binary suid/sgid (the flags would be ignored on the shell script, so it'd have to be the binary) in order to let everybody be able to write to a shared directory of users, the fix won't work as-is.
(1) The man page for ld.so notes that LD_PRELOAD /will/ work even with suid/sgid binaries IF (a) the library is suid/sgid itself, and (b) it is somewhere within the standard search path e.g. /usr/local/lib (presumably after re-running ldconfig).
(2) If you're not using suid/sgid, you probably need to make the saved game directory globally writable, but sticky so that nobody overwrites anybody else's. This will be independent of the directory you're running it from, however, so would not cause the issue you're seeing.
"I tell you three times..."