[clc-devel] non-root users in .footprint
Hi all, especially the new maintainers :), the following ports contain non-root users in the footprint: xfce4-artwork xfce4-minicmd-plugin xfce4-netload-plugin xfce4-showdesktop-plugin xfce4-systemload-plugin Please correct this. If you build ports as a non-root user (this is what I prefer, because you see when buggy install scripts try to install directly in /usr/bin,...), you can check the port with the prtcheck scripts from the prt-utils package: ----------- sample session ----------- scott@host > pkgmk =======> ERROR: Footprint mismatch found: MISSING drwxr-xr-x root/root etc/ MISSING -rw-r--r-- root/root etc/prtwash.conf ... NEW drwxr-xr-x user/users etc/ NEW -rw-r--r-- user/users etc/prtwash.conf ... =======> ERROR: Building '/home...clc/prt-utils/prt-utils#0.5.1-1.pkg.tar.gz' failed. scott@host > pkgmk -uf =======> Footprint updated. scott@host > prtcheck ====> WARNING: non-root users found! ====> WARNING: run "prtcheck --root" to convert footprint scott@host > prtcheck --root scott@host > cvs diff .footprint scott@host > ----> NO FOOTPRINT DIFFERENCES, PORT OK! ----------- end sample session ----------- If the unpacked tar archive contains files with different uids or different gids (php 4.3.3 is such a buggy package) and the install routine does not change them to the executing user, then you have to insert a "chown -R root:root $PKG/" as the last line in your Pkgfile. The method shown above does not work in this case, because pkgmk fails: a non-root user cannot "chown root" files. Bye Martin -- martin opel / fachbereich informatik - fachhochschule regensburg / email: martin.opel@informatik.fh-regensburg.de / web: http://rfhs8012.fh-regensburg.de/~opel/ / phone: +49 941 943-1336, fax: +49 941 943-1426
i think that i've just corrected them. excuse me for my many and great errors, please! * Martin Opel (martin.opel@informatik.fh-regensburg.de) ha scritto: | | Hi all, especially the new maintainers :), | | the following ports contain non-root users in the footprint: | | xfce4-artwork | xfce4-minicmd-plugin | xfce4-netload-plugin | xfce4-showdesktop-plugin | xfce4-systemload-plugin | | Please correct this. If you build ports as a non-root user (this is what I | prefer, because you see when buggy install scripts try to install | directly in /usr/bin,...), you can check the port with the prtcheck | scripts from the prt-utils package: | | ----------- sample session ----------- | scott@host > pkgmk | =======> ERROR: Footprint mismatch found: | MISSING drwxr-xr-x root/root etc/ | MISSING -rw-r--r-- root/root etc/prtwash.conf | ... | NEW drwxr-xr-x user/users etc/ | NEW -rw-r--r-- user/users etc/prtwash.conf | ... | =======> ERROR: Building | '/home...clc/prt-utils/prt-utils#0.5.1-1.pkg.tar.gz' failed. | scott@host > pkgmk -uf | =======> Footprint updated. | scott@host > prtcheck | ====> WARNING: non-root users found! | ====> WARNING: run "prtcheck --root" to convert footprint | scott@host > prtcheck --root | scott@host > cvs diff .footprint | scott@host > ----> NO FOOTPRINT DIFFERENCES, PORT OK! | ----------- end sample session ----------- | | If the unpacked tar archive contains files with different uids or | different gids (php 4.3.3 is such a buggy package) and the install routine | does not change them to the executing user, then you have to insert a | "chown -R root:root $PKG/" as the last line in your Pkgfile. The method | shown above does not work in this case, because pkgmk fails: a non-root | user cannot "chown root" files. | | Bye | Martin | | -- | martin opel / fachbereich informatik - fachhochschule regensburg | / email: martin.opel@informatik.fh-regensburg.de | / web: http://rfhs8012.fh-regensburg.de/~opel/ | / phone: +49 941 943-1336, fax: +49 941 943-1426 | _______________________________________________ | clc-devel mailing list | clc-devel@lists.berlios.de | http://lists.berlios.de/mailman/listinfo/clc-devel
participants (2)
-
[slash]
-
Martin Opel