On Tue, 9 Sep 2003 Jerry Talkington wrote: > Unfortunately there doesn't seem to any desire among the maintainers to > make fink a more user mode environment, which is a big mistake, IMHO. > An application shouldn't request root privileges until absolutely > necessary. A poorly patched or configured package, or even a typop, > could wreak havoc on a system.
I agree completely. That is, after all, one of the the points of admin/root accounts: to keep you from accidentally doing something dumb. In a perfect world no one would need it b/c no one would do anything dumb, but reality is less rosy. Anyway, for all who are interested: The fix is extremely easy. 1) In the file (pathname from memory, may not be correct) /sw/share/perl5/Fink/Engine.pm, comment the line containing "rerun_as_root(...);" The function call only appears in one place in the file. 2) Then make /sw/src writable by users with: sudo chmod 777 /sw/src Now, commands like fink rebuild package will compile and build with fink running as a user. You can inspect the output, look for places where the install tried to write files it shouldn't have, and make sure that everything in /sw/src/root-package is where it's supposed to be. Fink will die with an error when it tries to actually create the .deb file, but that's exactly what I want it to do: build the package in a "sandbox" and don't do anything permanent. Cheers, Greg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel