NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/48365: sysinst installs /usr/pkgsrc with invalid ownership and group



Ok, the tar files are created on the ftp server with:

drwxrwxr-x  2 srcmastr netbsd         0 Nov  9 02:15 pkgsrc
[..]

and extracted by sysinst with:

        tar --chroot -xhepf -

(like it is need for the main NetBSD sets) and running as root.

We could:

 - leave out the -p option to tar for the pkgsrc set (i.e. make all of
   pkgsrc owned by root) and display a message to chown it after reboot to
   the wanted user

 - create a user account (or select an existing one) and run the extraction
   as that user (or chown afterwards)

 - only display a message post extraction and leave everything else as is

 - change the process the pkgsrc sets are created and make root own everything,
   like it is done for the src/xsrc sets


Best is probably to create/select a user and extract all source sets and
pkgsrc owned by that and display a hint message if the user did not want to
create/select a user.

Martin


Home | Main Index | Thread Index | Old Index