Re: chmod refuses....
David T-G <[email protected]>
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
MMC -- ...and then root said... % % IN mandrake 9.0: % [root@qqs alternatives]# ll *77 % lrwxrwxrwx 1 root root 16 Jan 21 15:48 f77 -> /usr/bin/g77-3.2* % lrwxr-xr-x 1 root root 16 Dec 20 09:27 g77 -> /usr/bin/g77-3.2* % [root@qqs alternatives]# chmod g-w *77 % [root@qqs alternatives]# ll *77 % lrwxrwxrwx 1 root root 16 Jan 21 15:48 f77 -> /usr/bin/g77-3.2* % lrwxr-xr-x 1 root root 16 Dec 20 09:27 g77 -> /usr/bin/g77-3.2* This is expected. chmod doesn't work on links; you must chmod the target of the link. In other words, you cannot make a link that some can use and another link that some can't if they both point to the same file. ... % best to reply to [email protected]... Then why didn't you send it from that account? % Thanks, MMC HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [email protected] * society and not sufficient moral courage. (work) [email protected] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! _______________________________________________ Bug-fileutils mailing list [email protected] http://mail.gnu.org/mailman/listinfo/bug-fileutils
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE+LgH+Gb7uCXufRwARAqFFAKCun5Bwp/oF5pc/qvHe/McjCXzQhwCeKJ+1 fOoIPowJYqI8FD7nrfxtk3c= =iFOm -----END PGP SIGNATURE-----