-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-09-13 at 05:35 -0700, Randall R Schulz wrote:
Always do --setugids *before* --setperms.
Why is that? :-?
Because changing a file's ownership (including it's group ID) clears the setuid and / or setgid bits. This happens at the kernel level, so it's not just the chown and chgrp commands that require this treatment.
I wasn't aware of that, but I understand. But I thought that the "rpm - --setperms" command did it all. I can't verify: "man rpm" doesn't say a word, and "info rpm" shows this: | File: libc.info, Node: Yes-or-No Questions, Prev: Formatting Numbers, | Up: Locales | | 7.8 Yes-or-No Questions | ======================= which obviously is not the rpm info page, I think it is missing. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFCFEVtTMYHG2NR9URAoseAJoDUP5SwaZD9JKyMe4pZMxD2pgjAQCfaCuy baFK+RpRcz0cNbtDQ/ICe7c= =Vwa0 -----END PGP SIGNATURE-----