Odd 'homebrew' package management system?

Tushar Teredesai tush at yahoo.com
Tue Jul 23 18:07:45 PDT 2002


Albert Wagner wrote:

>I've been working on a Ruby version of the Bash script found in hints: "More 
>control and package management..."  It's worth reading this hint for some 
>interesting ideas re: package management.  The basic idea is that you create 
>a user for each package you install.  The user is created without a password 
>so that only root can su to that user.  Then unpack and compile your tarball 
>as the package-user.  Each package-user belongs to the same secondary group 
>"install";  All install directories belong to group "install" , are group 
>writable and sticky.  With the sticky bit set, a package installing a file 
>with the same name as a previously installed file will not overwrite the 
>previous file.  Also you can tell at a glance, using ls or your GUI file 
>manager, just what package each file came from.  
>
>  
>
Yeah, I use the hint and I love it. Now that I have set up some 
not-so-complex scripts to do automatic installs and package management, 
it is very convinient. No more overwriting of any files. Saved me from 
many problematic situations.

-- 
Tushar Teredesai
LFS ID: 1377
http://www.geocities.com/tush/lfs/


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message



More information about the lfs-chat mailing list