-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2009-03-09 at 12:53 -0600, Boyd Stephen Smith Jr. wrote:
On Monday 09 March 2009 13:45:19 Carlos E. R. wrote:
There is nothing that can be done to /dev/null to avoid it being changed?
Not by root.
:-( I looked at the "sticky" bit, but its purpose is to avoid removal.
Well, actually, I suppose it could be possible to hack the kernel or file system to reject such as change, but I don't think you really want that.
Argh, I suppose not. Mmm, it is actually documented in man chmod! chmod never changes the permissions of symbolic links; the chmod system call cannot change their permissions. This is not a problem since the permissions of symbolic links are never used. However, for each symbolic link listed on the command line, chmod changes the permissions of the pointed-to file. In contrast, chmod ignores symbolic links encountered during recursive directory traversals. And the program has no option that I can see to change that behaviour, as far as I can see. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm1alkACgkQtTMYHG2NR9VXdQCfeIj/EvIlOl23qG26zlEzQMI/ prUAnj//2MVVKalrzHzyLD+iWhjIWsPa =IX42 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org