Yuri de Groot wrote: > I still think this would be an excellent topic for a tech-talk CLUG > meeting. I'd love to learn how this '--prefix' thing will help me to > install untrusted software a bit more safely. > I'm trying to eliminate the number of things I do as 'root'.
Dear Not Only Yuri, Here's how I work in /usr/local, without root and without hassle. The following directory listings contain all the clues (permissions, users, groups) you need... [14:55]$ ll /usr/local drwxrwsr-x 14 root staff 4.0k Feb 8 2003 GNOME drwxrwsr-x 2 root staff 4.0k Jun 27 17:18 bin drwxrwsr-x 3 root staff 4.0k Jun 2 10:09 doc drwxrwsr-x 2 root staff 4.0k Jun 2 10:09 etc drwxrwsr-x 3 root staff 4.0k Jun 27 17:18 include drwxrwsr-x 2 root staff 4.0k May 28 08:27 info drwxrwsr-x 10 root staff 4.0k Aug 19 21:11 lib drwxrwsr-x 6 root staff 4.0k Jun 27 14:06 man drwxrwsr-x 3 root staff 4.0k Aug 20 22:53 sbin drwxrwsr-x 10 root staff 4.0k Aug 19 21:12 share drwxrwsr-x 13 root staff 4.0k Jul 4 02:25 src [14:58]$ ll /usr/local/bin ...snip... -rwxr-xr-x 1 trm staff 1.2M Jun 6 18:28 celestia -rwxr-xr-x 1 trm staff 19k Jun 2 10:52 evilwm -rwxr-xr-x 1 trm staff 187k Jun 5 02:27 freedroid ...snip... So, that stuff was installed by me (trm), not root. Here's root's only involvement: # adduser <your-user-name> staff (Note that <your-user-name> will have to log out then back in before that'll kick in.) Hope that helps, Regards, Tim -- Timothy Musson - [EMAIL PROTECTED] http://homepages.ihug.co.nz/~trmusson/
